Open AI Championship

Russian AI Cup — artificial intelligence programming contest

Round 1: before start



Round 1

Round 2


Recent comments

23 november 21:40: Diversus wrote comment on post Sandbox
23 november 21:27: Predelnik wrote comment on post Sandbox
23 november 19:23: udalov wrote comment on post Language packages
23 november 17:35: O6e36ashenII wrote comment on post Quick start
23 november 14:18: sarthak_ssg5 wrote comment on post Local runner
23 november 13:59: SladeThe wrote comment on post News of the week
23 november 13:56: SladeThe wrote comment on post Local runner
23 november 12:43: Paulson wrote comment on post News of the week
23 november 12:21: sarthak_ssg5 wrote comment on post Local runner
23 november 09:25: mixei4 wrote comment on post Black friday

VK Group

Telegram chat

This year task — CodeWars

Write an artificial intelligence to control a large amount of vehicles, compete with other participants in the championship!

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

Let's register! Quick start

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

The sixth Russian AI Cup championship is named CodeWars. You are to program an artificial intelligence to control a large amount of vehicles. Your strategies will compete with each other in the Sandbox and the championship. You can use any of programming languages: C++, Java, C#, Python, Pascal or Ruby. 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 6, 21:00 UTC till December 24, 21:00 UTC; first and fourth weeks will be beta-testing, system instability and significant changes in the rules are possible during these periods.
  • Round 1: November 24, 21:00 UTC – November 26, 21:00 UTC.
  • Round 2: December 8, 21:00 UTC – December 10, 21:00 UTC.
  • Finals: December 15, 21:00 UTC – December 17, 21:00 UTC.

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


Prizes aren't available

Championship News


Black friday

Attention attention! Only today, only now … 20 seconds at a price of 10 … ah, huh …

Due to the slow warmup of strategies on some programming languages, we decided to increase the time limit for the execution of the strategy’s process. The problem was especially relevant in short verification games. Therefore, the time limit was increased by 10 seconds — a constant that does not depend on the duration of the game. The time limit for one tick remains unchanged.


News of the week

The next week of AI Cup has passed, and we are ready to report on the work done. And it was done a lot.

We have made significant efforts to improve the system’s performance and stability. This may not be directly visible to the participants, but this is always the case: failures in work create discontent, and normal functioning is taken for granted.

Obviously, the amount of data in this year’s task has challenged not only the testing system, but also the strategies of the participants, an integral part of which is a special client interacting with the game simulator. These clients were written in ancient times, in the age of the legendary first tanks. For a long time their work completely satisfied us and participants. But this year they began to malfunction. Weak links in the chain were the clients on Python 2, Python 3, Ruby, and… of course, C++. Not without the help of the community, these clients carried out extensive work. Their performance has increased noticeably, leaving more time for the work of the main logic of the strategy. A number of minor improvements to user packages in other languages have also been made.

The set of available languages over the past week has been significantly expanded. Now, in addition to the standard set, you can develop your strategy on Scala, Kotlin, Go, Swift and Rust. Many thanks to all the participants who contributed to the development and support of these packages.

The rules of the game since the end of the beta test have not fundamentally changed, but a number of typos have been fixed, some controversial points have been described in more detail. If you still have some incomprehensible moments, download the latest version and go write the code! There are only 4 days left until Round 1.


  • added Nim devkit.

The end of the beta test

The first week of the beta test came to an end. Together we did a great job to improve the game, fixed many existing bugs and balanced the rules of the game.

Among the other, we added two new actions to the game:

  • SCALE to change size of units’ formation;
  • TACTICAL_NUCLEAR_STRIKE to request a local nuclear strike.

Please re-download the latest version of language packs and various utilities. Please note that the complete rules of the game, language packs and the Local runner utility 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 Round 1 and the beginning of the second beta week. 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.

Due to the large volume of work we almost don’t have time to support custom packages. We will try to fix this omission in the next week.

However, you already can develop and submit your AI using wonderful D language. Thanks Gassa for it. The devkit is available on Github.


Open beta

We are pleased to welcome all the participants of the Russian AI Cup: CodeWars 2017 open beta!

The beta test will run until 21:00 UTC on 12 November. Please note that at this time we can make a significant changes in the rules, scoring system and any other aspects of the championship. This week we will try to fix possible mistakes, optimize performance and make any other necessary improvements. The ratings will be reset after this week of beta.

Some links on the website are not working, including links to Github. We will fix it within a few days.

Good luck and have fun!

Latest games of leaders
# Name Rating
1 cups_14791 cups_14791 3893
2 MucmuK MucmuK 3656
3 GreenTea GreenTea 3629
4 RolandD RolandD 3616
5 VD42 VD42 3560
6 blashyrkh888 blashyrkh888 3550
7 imp5imp5 imp5imp5 3532
8 morozec morozec 3522
9 Alcofest Alcofest 3522
10 SkyHawk SkyHawk 3488