The game using alpha-beta algorithm with python. It is easy to start. Just input
python main.py
Also, you need
pip install pygame
and
pip install numpy
as the basic lib.The search-deep is just 3 now. And maybe will be improved in the future.
main.py
For UI and has two another threads to run AI mind.
minimax.py
The minimax algorithm
compute.py
To compute the next step
grade.py
Evaluate the grade of the chessboard
judge_win.py
Judge if 5 chesses are formed