My first game written in Python and using the PyGame library. The main purpose of this game is to practice and learn game development and software engineering with PyGame. 2 Players Chess.
Click on the exe file or run
python3.5 main.py
It is worthy to note that this version of game is incomplete. First of all, it does not have the option to castle - this will be added in next version of the game. Second, for one to win a game he must eat opponents king. There is still no validation of check-mate to stop the game without eating king.
- Implement the alpha-beta version of minimax algorithm to increase the AI performance.
- Implement moves database for openings and end games to increase the AI performance.
- Code review and improvements, especially within the GameTerminal.py file.
- Add castle moves.
- Implement the
save log
functionality. 6)ComputerAI.py- Contains the
ComputerAI` class that is responsible for the computer player. Currently, the algorithm that is used is the regular minimax algorithm.
Game.py
- This file contains the main game object. TheGame
object is responsible for running and manage whole game. In our project, there is only one instance ofGame
object.Board.py
- The logical board is controller that conrols and manipulates the board of the game. Each operation that is done and performed in game may reflect on the board and manipulate it. - Contains theMove
class that represents each move made by user or computer on the board.Pieces.py
- Contains a classPieces
that deals with logic of pieces.
- v1.0.0
- Chia Yong Kang - Adaptation - ExtremelySunnyYK
- Tech with Tim - Initial Work - TechwTim