Last Updated: May 23, 2026
Tic Tac Toe is a classic two-player game played on a 3x3 grid. Players take turns marking empty cells with their respective symbols: X or O.
Loading simulation...
The goal is to be the first to place three of your symbols in a row, either horizontally, vertically, or diagonally. At the same time, you must try to prevent your opponent from achieving the same. If all cells are filled and no player wins, the game ends in a draw.
In this chapter, we will explore the low-level design of a tic tac toe game in detail.
Lets start by clarifying the requirements: