/Competition_3v3snakes

Primary LanguageJavaScriptMIT LicenseMIT

Competition_3v3snakes

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.

game_matrix_200

territory_matrix_200

Getting Started

Debug

/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.

Submit

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

1v1_ranking

3v3_ranking

2p_ranking

5p_ranking

Acknowledgments

jidiai/Competition_3v3snakes