Third edition of the Mify Artificial Intelligence Contest #MIFY #AAAIBenin
One of the chosen game for this edition is Seega. Informations on the competition and the rules of the game is available here.
The game was implemented in Python and works with versions greater than or equal to 3.6+.
You can download the 3.6+ version of Python here. (Don't forget to add python to the path if you are on Windows)
Next, install the dependencies for the game. For that just run the following command (Note that you may replace pip by pip3 if you have different versions of python).
pip install -r requirements.txt
Firstly, just clone this repository or download the zip to get everything you need to work and just run by following the instructions. Get exemple AI at ./seega/random_agent.py
Usage:
python main.py -ai0 ai_0.py -ai1 ai_1.py -s 0.5
-ai0
path to the ai that will play as player 0
-ai1
path to the ai that will play as player 1
-s
time(in second) to show the board(or a move)
-t
total number of seconds credited to each agent
Example:
git clone https://github.com/Machine-Intelligence-For-You/MAIC2019.git
cd MAIC2020-Seega/
python main.py -ai0 ai_0.py -ai1 ai_1.py -s 1.5
python main.py -ai0 ./seega/random_agent.py -ai1 ./seega/random_agent.py -s 1.5
The t option allows you to specify the overall time allowed for all of you AI moves. After this time is exhausted all the next moves for the AI is done by a random agent. Now to run it you will have to use another file which is main.py with the same settings.
Example:
python main.py -ai0 ai_0.py -ai1 ai_1.py -s 1.5 -t 120
python main.py -ai0 ./seega/random_agent.py -ai1 ./seega/random_agent.py -s 1.5 -t 120