Tic-Tac-Toe


player1:red / X

player2 :blue / O






here are the basic rules for playing Tic Tac Toe:


1. The game is played on a 3x3 grid.

2. There are two players in the game, X and O. X goes first.

3. Players take turns placing their mark (X or O) on an empty square of the grid.

4. The game ends when one player has three of their marks in a row (horizontally, vertically, or diagonally) or when all squares are filled without either player achieving three in a row. 5. If a player gets three of their marks in a row, they win the game.

6. If all squares are filled and no player has three in a row, the game is a draw.

7. Players cannot play on a square that has already been marked.

8. The game is over as soon as a player wins or the game is declared a draw.

9. Players can choose to play multiple games in a row, alternating who goes first.

These are the basic rules for playing Tic Tac Toe. Good luck and have fun!