Engine for TicTacToe game. More...
Go to the source code of this file.
Classes | |
| class | TicTacToe |
| This class can managed a Tic-Tac-Toe game. The class allows basic operations like initializing the game, placing marks according to the rules, checking if the game is over, undo a move etc ... More... | |
Defines | |
| #define | EMPTY 0 |
| Value set in an empty cell. | |
| #define | CROSS 1 |
| Value used to describe the mark of the first player. | |
| #define | CIRCLE 2 |
| Value used to describe the mark of the second player. | |
| #define | DRAW 3 |
| Value used to describe a draw game. | |
Engine for TicTacToe game.
This class is an engine for the TicTacToe game
Definition in file tictactoe.h.
| #define CIRCLE 2 |
Value used to describe the mark of the second player.
Definition at line 24 of file tictactoe.h.
| #define CROSS 1 |
Value used to describe the mark of the first player.
Definition at line 21 of file tictactoe.h.
| #define DRAW 3 |
Value used to describe a draw game.
Definition at line 27 of file tictactoe.h.
| #define EMPTY 0 |
Value set in an empty cell.
Definition at line 18 of file tictactoe.h.
Tic-Tac-Toe by
1.7.3