This is a simple implementation of the classic Tic-Tac-Toe game using Pygame and published using pybag library and itch.io website. The game allows a player to choose between playing as X or O and competes against an AI opponent.
- Choose to play as X or O.
- Play against an AI opponent.
- Visual representation of the game board.
- Game over messages indicating the winner or a tie.
- Option to play the game again.
- Click this url (Click me)
- Click run game in the webiste
- Wait for few seconds to load
- Choose to play as X or O.
- Make your moves by clicking on the desired empty cell.
- The AI opponent will take its turn automatically.
- The game will announce the winner or a tie when the game is over.
- Click "Play Again" to start a new game.
- Download the github repo
- Unzip the folder
- Run the script by executing
python main.py
. - Choose to play as X or O.
- Make your moves by clicking on the desired empty cell.
- The AI opponent will take its turn automatically.
- The game will announce the winner or a tie when the game is over.
- Click "Play Again" to start a new game.
- Python 3.x
- Pygame library (
pip install pygame
)
- From url there is no requirements
- Ensure you have Python installed on your system ( For code editor)
- Install the required Pygame library by running
pip install pygame
. - Run the game script using
python main.py
.
Thankyou