Demo heuristic algorithm of snakes 3V3 on Jidi platform. Also suitable for snakes 1V1, snakes 2P and snakes 5P. For algorithm details, see Jidi Snakes 3V3.
/agent/debug/submission.py
is used to debug.
Run python run_log.py --my_ai "debug" --opponent "debug" > output.txt
and wait for one minute.
Check output.txt
in main directory, game matrix images in /images_init_board
and territory matrix images in /images_board
.
Migrate your modification to /agent/submit/submission.py
and submit.
You can directly make a submission on snakes 1V1, snakes 3V3 and snakes 5P.
If you want to submit on snakes 2P, remember to change the variable teams
to [[0, 1]]
.
Then you can get a ranking slightly below that