Author : Zhekai(Scott) Jin
A checker program with the option of a PC player or a human player on both ends. The PC player use the iterative deepening & minimax alpha-beta search on the whole legal moves on the board and try to pick the best move against the other player.
AI checker in acion (click on the image to view the full video)
- CMAKE 3.0
- MAKE
./checker
Follow the Prompt
git clone https://github.com/ZhekaiJin/AI-Checker.git
cd AI-Checker/
mkdir build && cd build
cmake .. && make
./checker
cd AI-Checker/
rm -rf build
- if the board has no piece left for one, set his score to be minimum and his opponent score to be maximum.
- if the board has no legal left for one, set his score to be minimum and his opponent score to be maximum.
- Each player will have a postive base score of 300.
- King is worth 1.6 and the Normal one worth 1 relatively. [1000 vs 1600]
- Deduct point if I am not in the middle of the board.
- Add point if I am closer to the enemy peice and I have my square behind me filled with my own piece.
- Non-king peive will be awarded to stay in back rank and given incentive to move forward.