AI program meant for checkers contest as an exam for Fundamentals of AI course at NaUKMA
This is a client-server application, that is why you need to run them separately in different terminals:
Command to run the server: python3 server.py
Command to run the client: python3 client.py --production
- Creating a board game_drawing.py, connecting to the bot_production.py server, testing bot_test.py - Perch O.
- The first version of the MinMax algorithm with alpha-beta prunning Solver.py, Heuristic.py, testing, client.py - Orel D.
- Algorithm modification, testing the coefficients of heuristics - Orel D., Perch O.
- Install
python 3
andpip
from https://www.python.org/downloads/. - (Optional) Use
virtualenv
for python in order to install modules in project directory only and not to collect trash in your OS. - In project folder run
pip install -r requirements.txt
- Run such commands in separate terminals to see the game in action:
4.1.python3 server.py
- to start the checkers' back-end.
4.2.python3 client.py --prooduction
- to open the checkers' client player 1 connection.
4.3. Anotherpython3 client.py --prooduction
- to open the checkers' client player 2 connection.
If you have both python 2 and python 3 in your OS, you may want to use
python3
for commands stated above.
Note: Default server host/port is
127.0.0.1:8081
. If you want to run server on non-default host/port, you may change any of these values atsrc/server/config/checkers.yaml
.