Player who finished moving his checkers to opposite corner is winner.
- Find farest empty cell (FEC) within "winner cells".
- Find all avaliable checkers for making a move.
- Choose checker for move:
- Check if any checker can occupate FEC.
- Count distance up to FEC for all avaliable checkers. Count an average.
- Prioritize by a target ("far checkers" q-ty relative to all checkers q-ty).
- Calculate "the best" path based on a distance up to FEC for each cell in path for chosen checkers.
- Make a move
For running on localhost:
git clone https://github.com/Valexandrin/corner-game
pip install poetry
poetry config virtualenvs.in-project true
source .env\Scripts\activate
poetry init
poetry install
Change configurations in game/config.py
make run