This is a modified version of the classic checkers game created for academic purposes as a project for the AI Laboratory. The game introduces unique features, including vertical piece movements , special power pieces such as archers, king, and hero. The AI is implemented using the Min-Max algorithm with a depth level of 3 for strategic gameplay.
- Modified Gameplay: vertical piece movements instead of diagonal.
- Special Power Pieces:
- Archers: Unique movement capabilities.
- King: Special privileges and strategic advantages.
- Hero: A powerful piece with enhanced abilities.
- AI Opponent: Implements Min-Max algorithm for intelligent decision-making.
- Depth Level 3: Balances between strategic thinking and computational efficiency.
The AI opponent in this game employs the Min-Max algorithm with a depth level of 3. This ensures strategic decision-making while maintaining computational efficiency. The algorithm explores possible moves up to three levels deep to determine the best move based on the current state of the board.
- Python 3.9.12
- Pygame 2.3.0
-
Clone the repository:
git clone https://github.com/abrarhasan3/Modified-Checkers-Game.git
-
Run Checkers>Main.py and play the game.
As this is a two player game, there two color of pieces.
- White (AI)
- Black (Human)
There are Four type of pieces in this game.
1. Soldier Piece | 2. Archer Pieces | ||
3. King Pieces | 4. Hero Pieces | ||
The board has 8 piece in each team. Among them 2 are archers.
1. If the soldier piece can reach the other end of the board it becomes a king. | |
2. When the Archer piece reaches the other end of the board it becomes a hero. |
There are some screenshot of game.
Welcome Screen | |
Game Starts | |
Captured Some Pieces | |
Human Player Loses |
Contributions are welcome! Feel free to open issues or submit pull requests to enhance the game.
- Fork the project.
- Create your feature branch:
git checkout -b feature/YourFeature
. - Commit your changes:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin feature/YourFeature
. - Open a pull request.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for academic and educational purposes.