Tic-Tac-Toe Clone - The Complete SFML C++ Game Course
4.1 (144 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
39,090 students enrolled

Tic-Tac-Toe Clone - The Complete SFML C++ Game Course

Ultimate SFML Game Development Course
4.1 (144 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
39,090 students enrolled
Created by Frahaan Hussain
Last updated 12/2017
English
English [Auto], Spanish [Auto], 1 more
  • Turkish [Auto]
Current price: $20.99 Original price: $29.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 3.5 hours on-demand video
  • 1 article
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Use C++ To Make A Game
  • Create A Cross Platform Game
  • Create A Multi Device Game
  • Use The SFML framework To Make A Game
  • Understand Game Logic
  • Understand How To Create An Adaptable Game Template
  • Create An Extendable Game Engine
  • Understand Tic-Tac-Toe Game Mechanics
Course content
Expand all 19 lectures 03:41:42
+ Introduction
1 lecture 02:10

Take a sneak peak at what you will be creating throughout this course and the skills you will obtain.

Preview 02:10
+ Project Setup
2 lectures 21:20

In this video we will cover the following:

Prerequisites:

  • Windows Visual Studio project setup
  • Resources
  • Feature
Project Setup On Windows
11:46

In this video we will cover the following:

Prerequisites:

  • Mac Xcode project setup
  • Resources
  • Feature
Project Setup On Mac
09:34
+ Game Engine Setup
4 lectures 47:34

We will create the state machine which will allow our game to manage different game states/screens from Main Menu to Game to Pause state.


Great links to learn more about State Machines:

  • http://gameprogrammingpatterns.com/state.html
  • https://www.gamedev.net/resources/_/technical/game-programming/state-machines-in-games-r2982
  • https://gamedevelopment.tutsplus.com/tutorials/finite-state-machines-theory-and-implementation--gamedev-11867
State Machine
17:43

We will create an asset manager to handle the loading and retrieval of various types of assets including the following:

  • Textures
  • Fonts
Asset Manager
08:14

We will cover implementing an input manager to handle all of our input needs. It will be extendable allowing you to implement more and complex input methods for your future games.

Preview 07:35

We will implement the main game loop that will handle all of our game from input to asset management to state handling.

Game Loop
14:02
+ State/Screen Creation
5 lectures 01:15:01

We will now implement the Splash State that allows us to add our very own logo.

Preview 18:37

We will now implement the Main Menu State that allows us to  navigate to the Game State and displays the game name/logo.

Main Menu State/Screen
20:17

We will now implement the Game State that will contain our main game logic and game elements.

Game State/Screen
14:19

We will now implement the Pause State that will appear when pausing our game and provide a method to go back to the main menu.

Pause State/Screen
14:01

We will now implement the Game Over State that will appear when the player wins or loses.

Game Over State/Screen
07:47
+ Game Logic
5 lectures 01:11:30

We will now start to implement the the grid system which will contain the game pieces.

Grid Part 1 - Initialisation
14:05

Let's now implement the functionality to place a game piece.

Grid Part 2 - Placing A Piece
12:00

Let's now implement the win condition to allow us to win at our awesome game.

Grid Part 3 - Check For Win Condition
19:30

We have a game but we want to be able to play against the computer, so let's implement AI.

AI
21:19

We now will implement the final part of the game to show the game over state when the player wins, loses or draws.

Show Game Over Screen
04:36
+ Extras & Going Forward
1 lecture 03:52

You have created an awesome game, lets discuss where you can go from here.

What To Do Next?
03:52
+ Bonus Lecture: Discounted Courses
1 lecture 00:14

Thanks a lot for enrolling in this course, as a way of saying thank you, I am giving you access to my other classes on (game development) at a steep discount! Hope you enjoy them.

Bonus Lecture: Discounted Courses
00:14
Requirements
  • C++ Programming
  • SFML (optional)
  • Coding
  • Game Design (optional)
  • Tic-Tac-Toe Game Logic (optional)
Description

Learn how to make cross platform games using Tic-Tac-Toe as an example. A step by step process is used to show everything from project setup to essential game design techniques.

Gain a good understanding of the following concepts:

  1. C++ Game Programming

  2. Video Game Logic

  3. SFML Game Programming

  4. Game Mechanics

SFML is one of the easiest game frameworks in the world and will provide you with a solid foundation for your game development journey. The gaming industry is bigger than Hollywood and is constantly growing, start your journey now.

You will be provided with the full source code to aid in development during and after this course. The source code and artwork is free to use in as many projects as you wish.


Over 205,000 students have enrolled on my courses and all of them are extremely satisfied. You will also be satisfied with this course. If you do not like the course, remember that within 30 days you can request a full refundI guarantee you satisfaction.

If you have any questions regarding the topics covered in this course, please feel free to ask. I'm always happy to help those who want to learn.


To summarise this is what you get:

• Lifetime access to HD quality videos. No monthly subscription. Learn at your own pace, whenever you want.

• All videos are downloadable. Learn wherever you want, even without an internet connection!

• Downloadable starter code and final code for each section.

• Free helpful support in the course Q&A when you have questions or get stuck.

• Multiple coding challenges to practice your new skills (solutions included).

Sounds great? Then start this adventure today by clicking the “Take this course" button, and join me in the only course that you will need!

Who this course is for:
  • Suited for C++ Developers
  • Suited for Budding Game Developers
  • Fan of Tic-Tac-Toe
  • Love Video Games & Relish The Prospect Of Making A Game