TicTacToe
This is a simple C++ based game of TicTacToe
Features
- Entirely console-based graphics
- Customizable player names
- A High Score system
To be Implemented:
- An Algorithm for the player to play against with two difficulties
How to Play
-
Clone the repository:
git clone https://github.com/YousefElGhoul/TicTacToe.git -
Navigate to the project directory:
cd TicTacToe -
Run make:
make -
Run the game:
./TicTacToe.exe
Controls
- Arrow Keys for Menu Navigation and choosing the square
- Enter to mark the square
- Escape to exit the game
Game Rules
- The game is played on a grid that’s 3 squares by 3 squares.
- Player 1 is ‘X’ and Player 2 is ‘O’. Players take turns putting their marks in empty squares.
- The first player to get 3 of their marks in a row (up, down, across, or diagonally) is the winner.
- If all 9 squares are full and no player has 3 marks in a row, the game ends in a draw.
License
This project is licensed under the MIT License.