Open AI Championship

AI Cup — artificial intelligence programming contest



Round 1

Round 2


Recent comments

25 march 11:22: csrfcsrfff82322 wrote comment on post Finals: Results
23 march 14:27: csrfcsrfff82322 wrote comment on post Finals: Results
22 march 03:19: samuel823aaaaaa wrote comment on post Sandbox
22 march 02:22: csrfcsrf82322 wrote comment on post The closing of the AI Cup 2019

VK Group

Telegram chat


This year task — CodeSide

Write an artificial intelligence to control a team of units, compete with other participants in the championship!

Detailed description of the task can be found in “CodeSide” championship and Rules sections.

Let's register! Quick start

AI Cup — open artificial intelligence programming contest. Test yourself writing a game strategy! It’s simple, clear and fun!

Eighth AI Cup championship is named CodeSide. You are to program an artificial intelligence to control a team of units. Your strategies will compete with each other in the Sandbox and the championship. You can use any of programming languages: C++, C#, F#, D, Go, Java, Kotlin, Scala, Python, Ruby, Rust. The Sandbox is already open. Good luck!

We welcome both novice programmers — students and pupils, as well as professionals. Writing your own strategy is very simple: basic programming skills are enough.

Championship schedule

  • Sandbox: open for everyone from November 27; until December 7 will be beta-testing, system instability and significant changes in the rules are possible during this period.
  • Round 1: December 14-15.
  • Round 2: December 21-22.
  • Finals: December 28-30.

Begin from the Quick start guide. Writing a simple strategy is not hard at all!


Prizes aren't available

Championship News


The closing of the AI Cup 2019

The Sandbox is completed, and now we can announce the closure of the AI Cup 2019: CodeSide championship.

Let’s congratulate the winners. All of them receive WD My Passport Ultra 2TB for their efforts:

  1. 1-6 place Andrey Rybalka - lama (Ukraine).

  2. 1-6 place Alexander Muhametov - SilentNox (Russia).

  3. 1-6 place Andrey Morozov - morozec (Russia).

  4. 1-6 place Denis Grachev - dgrachev28 (Russia).

  5. 1-6 place Sergey Samsonov - cas (Russia).

  6. 1-6 place Anton Ignatyev - iam1 (Russia).

Of course, this is not all prizes. All participants of Round 2 will receive a souvenir t-shirt with championship symbolics, and all participants of the Final, in addition to this, will get a hoodie.

Later we will make an e-mail newsletter with additional information regarding the receipt of prizes. Please also note that all questions related to receiving prizes are recommended to be sent to, and not using messages on this site.

With the best wishes, Mail.Ru Group and Codeforces teams.


Finals: Results

So, the last games of the Finals has been processed, and we can give our congratulations to all the winners. In the Finals each participant played each other one 8 times, and top-6, according to the standings table, receive prizes:

1) 1st place Andrey «T1024» Tokarev (Hungary, Budapest). He has gained most score points during the Finals, and becomes the winner of CodeSide 2019 and receives Apple Macbook Pro 15.

2) 2nd place Ivan «tyamgin» Tyamgin (Russia, Simferopol). With minimal score difference takes second place and receives Apple Macbook Pro 13.

3) 3rd place Third place is taken by Denis «ud1» Utkin (Russia, Khimki). He receives Apple iPad.

4) 4-6 место Pavel «Cerner» Velichko (Russia, Moscow) - Samsung Gear S3 / Apple Watch S4.

5) 4-6 место Nickolay «Mr.Smile» Vabishevich (Russia, Moscow) - WD My Cloud 6 TB.

6) 4-6 место Laszlo «kovi» Kovacs (Hungary, Budapest) - WD My Passport Ultra 4TB.

We congratulate them!

But other participants should not relax just yet. There will still be games in the Sandbox (until January 15), and top 6 participants will also receive prizes. Winners of the Finals continue to participate unofficially.


The Finals

That’s about to begin the final stage of the main part of the championship.

We remind, that in each part of Finals a series of “each-vs-each” games will be held.

The strategy will receive 2 points for a victory, 1 point to each participant for a draw, there is no reward for a defeat.

Good luck to all the participants!


Last week before finals

So, Round 2 has ended. Now it is the last week before the finals. Sandbox games now include complex levels. You can also test them locally by downloading new version of the app, if you haven’t already.

Good luck with finding your way on the new levels! Remember, if you didn’t make it to the Finals yet, you can do so still by being in top-10 of this table.


Round 2

Round 2 is about to begin! We wish good luck to all the participants.

Also, those who want to start playing with complex (finals) levels, can do so in the new updated app.


Round 1 is over

Round 1 is over. In total for 2 parts each strategy has played 58 times. 300 best strategies are promoted to Round 2.

If you do not get into their number, do not get upset. You still have a chance to get the T-shirt. For this, at the beginning of Round 2, you need to be in the top 60 Sandbox participants except for the mentioned 300 people. Within a few days we will add a special table, where everyone can track their progress.

And now begins the week of preparation for Round 2. 2x2 games are now available in the Sandbox.


The end of beta

So, the beta test came to an end. A lot of improvements and bugfixes have been made in this time. Latest updates:

  • Decreased max game time to 3600 ticks
  • Slightly decreased max spread for weapons
  • Increased aim speed for rocket launcher
  • Mines can now be exploded with bullets or explosions

Please re-download the latest version of language packs and various utilities. Please note that the complete rules of the game and language packs are also published on Github. There you will be able to track the changes and also to see a changelog.

We won’t make changes that could affect the behavior of the strategy in the game till the end of the championship. However, we will continue to fix known bugs, and we reserve the right to change the mechanics of the game beyond the rules if we deem these changes necessary.

The rating of all participants in the Sandbox has been reset.

Good luck in matches!


Local repeating games

The app has been updated once again. Now you can locally repeat games that were tested on the server.

To do so, download game log using the “local repeat” sidebar button. Then, use the app to connect your strategy and repeat the game. In repeat mode, your strategy receives same information that it did when tested on the server. Actions returned by your strategy are ignored in this mode. You can use this mode for debugging. Debug rendering also works.

Other news: we have added JavaScript and .Net Core 3.1 support. Also, you can now specify “seed” in the game config json to play the game with same random number generation.


Updates in rules: manual weapon reloading


Today is the day of breaking change in the rules: you can now manually reload your weapon, auto reloading is disabled.

Download new version of the rules, the app and language pack.

Note, that all changes that we make are also available in changelog on GitHub.


New programming languages (and other things)

Good news, new language packages are available: Scala and F#.

JavaScript will be added soon. We also have plans to add Lua, Haskell. It’s possible to add other languages. If you want your language to be added, and can help with creating the language package, you can send pull request to the GitHub repository, so that we add it faster.

One more little change: amount of score points given for killing opponent’s unit is increased to 1000.


Updates: day 3 of beta-test

Good evening!

Today we had a couple of updates to the app and language packs, including a fix of debug rendering flickering, as well as new custom rendering feature: PlacedText. API Section of the rules has been updated accordingly.

Also some fixes have been applied to the testing system, so it should be little more happy with your submissions.

Remember, if you upload a zip, you need to structure it same way as initial client code — submit all files, with root of the zip containing project files (root should not contain a directory with all the files, but all the files directly).

Have a good weekend!


Sandbox start

So, Sandbox has launched, and it means that you can now play against other participants.

Many bugs were fixed since start of beta-test. New version of the app is available.

If you encounter any problem, leave an issue in GitHub repository

Good luck in battles!


Start of beta-test

Hello everyone!

AI Cup 2019 has finally started, but in beta-test for now. Testing system is unavailable yet, but you can already read the rules / run games locally as well as start implementing your strategy. Testing system and Sandbox will be started tomorrow.

If you come upon any issue, use our GitHub repository

Latest games of leaders
ud1 ud1
ud1 ud1
# Name Rating
1 T1024 T1024 827
2 tyamgin tyamgin 824
3 ud1 ud1 774
4 Cerner Cerner 760
5 Mr.Smile Mr.Smile 726
6 kovi kovi 715
7 iam1 iam1 715
8 ipris ipris 692
9 lama lama 689
10 morozec morozec 689
# Name Rating
1 T1024 T1024 3764
2 ud1 ud1 3597
3 tyamgin tyamgin 3584
4 lama lama 3576
5 SilentNox SilentNox 3571
6 morozec morozec 3540
7 dgrachev28 dgrachev28 3507
8 Mr.Smile Mr.Smile 3493
9 cas cas 3478
10 iam1 iam1 3477