- Install virtualenv if you haven't
pip install virtualenv
- Create virtualenv
virtualenv venv
- Activate the created virtualenv
venv\Scripts\activate
- Install dependencies
pip install -r requirements.txt
- Run
run.bat
- You need to copy class from others to
minimax.py
orlocal_search.py
(for exampleMinimaxA
andMinimaxB
tominimax.py
) - Both of them need to have different class name (for example class MinimaxA and class MinimaxB)
- Run using
--is_dump
with bot name define in--bot1
or--bot2
You can change the config in run.bat
--row <int>
--column <int>
--type <bvb?pvb?pvp>
--player_choice <0?1>
--thinking_time <float>
--is_dump
--bot1 <str>
--bot2 <str>
This project is used for an assignment from IF3170 Artificial Intelligence 2021/2022