udalov / russianaicup2018

My solution of Russian AI Cup 2018 -- CodeBall (https://2018.russianaicup.ru/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

russianaicup2018

My solution of Russian AI Cup 2018 -- CodeBall (http://2018.russianaicup.ru/)

Results:

  • Round 1 (v1) -- 45th place, 92.9% wins
  • Round 2 (v2) -- 30th place, 90.4% wins
  • Finals (v4) -- 53rd place, 16.7% wins
  • Sandbox overall -- 64th place

To compile/run, install CMake and run:

mkdir out
cd out
cmake ..
make -j 4
cd ..
out/Solution

Optionally, pass duration and seed to out/Solution:

out/Solution 18000 42

Or change parameters in src/main.cpp.

To see the custom visualization:

  1. Change #define VIS 0 to #define VIS 1 in src/MyStrategy.cpp
  2. Compile and run a game
  3. Run ./gradlew :run in the vis directory

About

My solution of Russian AI Cup 2018 -- CodeBall (https://2018.russianaicup.ru/)


Languages

Language:C++ 92.5%Language:C 4.1%Language:Kotlin 3.3%Language:CMake 0.2%Language:Dockerfile 0.0%