To anyone who might be reading this code:
This was my first programming project outside of courses and algorithmic exercises. There are many areas for improvement. I appreciate your understanding and patience.
- User-Friendly Interface: Simple and intuitive paper like UI for easy gameplay.
- Two-Player Mode: Play against a friend on the same computer.
- Turn-Based Gameplay: Players take turns on the same computer.
- Winning Detection: Automatically detects when a player wins or when the game ends in a draw.
- Python 3.12.7 or higher
- Pip
- Git
git clone https://github.com/ernest-mm/Tic-Tac-Toe.git
or with SSH if you have it configured
cd Tic-Tac-Toe
pip install -r requirements.txt
python src/main.py
- The game board is a 3x3 grid.
- Player 1 is 'X' and Player 2 is 'O'.
- Players take turns placing their mark in an empty cell on the same computer.
- The first player to get three of their marks in a row (horizontally, vertically, or diagonally) wins.
- If all cells are filled and no player has three marks in a row, the game ends in a draw.
- Technologies Used:
- Python 3.12.7
- Pygame-ce 2.5.1
- Developer: Ernest M.
- Special Thanks:
- Pygame Community for the excellent documentation and resources.
- Sound Effects:
This project is licensed under the MIT License - see the LICENSE file for details.