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:
- Change
#define VIS 0
to#define VIS 1
in src/MyStrategy.cpp - Compile and run a game
- Run
./gradlew :run
in thevis
directory