- Play against an intelligent Tic-Tac-Toe bot.
- View your game statistics.
- Replay the game.
- Save and open games using serialization.
- Clone the repository.
- Open the project in your preferred Java IDE.
- Compile and run the
Main
class.
- The game board consists of a 3x3 grid.
- Each cell on the grid is represented by a number from 1 to 9.
- To make a move, enter the number corresponding to the cell where you want to place your symbol (X or O).
- The bot will automatically make its move after you.
- The game continues until one player wins or the game ends in a draw.
- Enjoy playing Tic-Tac-Toe against the bot!
The game keeps track of the following statistics:
- Total games played
- Games won by the player
- Games won by the bot
- Games ended in a draw
After finishing a game, you have the option to replay it. This allows you to analyze your moves and strategies.
You can save your current game or open a previously saved game using serialization. This feature allows you to continue a game at a later time.