Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/udalov/russianaicup2018
My solution of Russian AI Cup 2018 -- CodeBall (https://2018.russianaicup.ru/)
https://github.com/udalov/russianaicup2018
Last synced: 6 days ago
JSON representation
My solution of Russian AI Cup 2018 -- CodeBall (https://2018.russianaicup.ru/)
- Host: GitHub
- URL: https://github.com/udalov/russianaicup2018
- Owner: udalov
- Created: 2019-02-11T20:03:51.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-11T20:06:57.000Z (almost 6 years ago)
- Last Synced: 2024-10-24T22:35:04.884Z (about 2 months ago)
- Language: C++
- Homepage:
- Size: 283 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
russianaicup2018
================My solution of Russian AI Cup 2018 -- CodeBall (http://2018.russianaicup.ru/)
Results:
* Round 1 ([v1](a011e70)) -- 45th place, 92.9% wins
* Round 2 ([v2](8f3cfd6)) -- 30th place, 90.4% wins
* Finals ([v4](882693e)) -- 53rd place, 16.7% wins
* Sandbox overall -- 64th placeTo compile/run, install [CMake](https://cmake.org) and run:
mkdir out
cd out
cmake ..
make -j 4
cd ..
out/SolutionOptionally, pass duration and seed to `out/Solution`:
out/Solution 18000 42
Or change parameters in [src/main.cpp](src/main.cpp).
To see the custom visualization:
1. Change `#define VIS 0` to `#define VIS 1` in [src/MyStrategy.cpp](src/MyStrategy.cpp)
2. Compile and run a game
1. Run `./gradlew :run` in the `vis` directory