Alison's New App is now available on iOS and Android! Download Now

SFML Game Development : Tic-Tac-Toe

Learn to create a fully-functioning SFML tic-tac-toe game with this free online game development course.

Publisher: Sonar Systems
This free online game development certificate provides step-by-step coding instructions on how to create a fully functioning tic-tac-toe game using the SFML (Simple and Fast Media Library) package. Hone your programming skills and learn the various requirements to set it up for Windows and Mac, the details for setting up the game engine system, stage creation process, how to implement the grid system, and adding AI (artificial intelligence).
SFML Game Development : Tic-Tac-Toe
  • Duración

    1.5-3 Horas
  • Students

  • Accreditation






Ver los módulos del curso


Learn game development with SFML and create a simple, functional tic-tac-toe game where you will get to understand the principles of coding. The first course module covers SFML setup on Windows (using Visual Studio) and Mac (using Xcode and Homebrew) systems before moving onto setting up the gaming engine which includes State Machine (switching between states), Asset Manager (loading and storing assets), Input Manager (handles all of the input, providing specific data such as when a sprite is clicked), and the Game Loop (what brings all of the managers together).

The second module of this SFML game development course covers explaining and implementing the game states and grid system development. The tic-tac-toe game contains five states which are the splash, main menu, game, pause, and ‘game over’ states. You then move on to the game logic components, which consists of the grid, AI, and ‘game over’ screen switch implementations. The grid development process is broken down into three parts: initialisation (which represents the initial set-up process), checking for empty and occupied grid spaces in order to place a piece, and implementing a ‘check for the win’ condition. The implementation of AI essentially adds an extra dimension to the game with an artificial opponent capable of winning. The next part of the course  is the “extras” section and suggests extra features that can be added to the game to further enhance the user experience.

This game tutorial is an asset to anyone interested in a career in game development. It goes into intricate details on every process, providing you with all of the information that is necessary to complete the game, but also apply the principles to other game development projects. If you have existing game development experience, then this free online course can also provide a comprehensive refresher on SFML. Enrolling in this course from start to finish will take only three hours and video demonstrations make learning fun, interesting and practical at the same time.

Inicio Curso Ahora