Tic tac toe is a game with two players, who take turns marking the spaces in a 3 * 3 grid using the variables X and O. The player who succeeds in placing three of their marks in a horizontal, vertical or diagonal ways first wins the game.
Typically X starts the game and alternate with O.