Open AI Championship

Russian AI Cup — artificial intelligence programming contest

Round 2: before start



Round 1

Round 2


Recent comments

7 december 20:58: Fireworks wrote comment on post Repeater utility
7 december 20:56: Fireworks wrote comment on post Repeater utility
7 december 20:48: Sanda wrote comment on post Sandbox
7 december 20:47: Dimon777 wrote comment on post Sandbox
7 december 20:46: Dimon777 wrote comment on post Sandbox
7 december 17:48: Spasitel wrote comment on post Sandbox
7 december 16:11: MrZlodey wrote comment on post Sandbox
7 december 15:25: Gladiator_Y wrote comment on post Sandbox
7 december 15:17: AntonT wrote comment on post Sandbox
7 december 15:14: Nerumb wrote comment on post Sandbox

VK Group

This year task — CodeWizards

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

Detailed description of the task can be found in “CodeWizards” 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!

Fifth Russian AI Cup championship is named CodeWizards. You are to program an artificial intelligence to control a wizard. 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 25, 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 25, 21:00 UTC – November 27, 21:00 UTC.
  • Round 2: December 9, 21:00 UTC – December 11, 21:00 UTC.
  • Finals: December 16, 21:00 UTC – December 18, 21:00 UTC.

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


Prizes aren't available

Championship News


Balancing skills. Part 2

The protection of Shield status increased from 25% to 33.3%.


Balancing skills

The duration of the Haste and the Shield statuses granted by spell is now 1200 ticks. The duration of these statuses granted by bonus remains the same. Now the wizard that casts a status spell on any friendly wizard automatically gets the same status.


Banned by VAC the Jury of Russian AI Cup

Bad day :(

We have carefully analyzed the strategies participated in the Round 1 and became really disappointed. We’ve found that not all the participants follow the rules and ethical standards of fair play. We have found a number of cases of collaboration or using of multiple accounts by single person.

The unfair participants from the top-300 could have causeless right to receive extra prize t-shirts. All of them knew about it, but none of them had not informed us about violation and had not requested to disqualify and disable extra accounts.

For the first time we decided to limit punishment to a strict warning and disqualification from the Round 1. The unfair participants from the top-300 will not be disqualified from the competition completely, but will not advance to the Round 2. We will invite to the Round 2 next participants from the final standings of the Round 1. For sure they will be notified by e-mail.

We will not publish the list of shame, but anyone can check their login here and make appropriate conclusions. If you have considered themselves a participant of Round 2, but were surprised to find yourself on the page above, be aware that wildcards from the Sandbox are open to you if you contact us and acknowledge your offense.

We reserve the right to carry out such inspections before and after any stage of the championship and next time we will not be so loyal.


The second week of beta

So, the second week of the beta test has begun, and we are almost ready to replace the wizards with the space marines ;) Prepare yourself!

Meanwhile, we decided to please you with a solid portion of the changes so you don’t get bored waiting. It seems that all wizards have mastered new skills and just don’t know what else to do.

Here they are:

  • reduced hitpoints of all buildings by 2 times;
  • increased factor of experience points for damaging and destroying of buildings from 0.25 to 0.5;
  • reduced experience points for taking a bonus from 200 to 150;
  • reduced max tree life from 36 to 30;
  • reduced empowered damage factor from 2 to 1.5.

And yet Marat Vafin (LastVar) bothered to develop his strategy in Java, and after the end of Round 1 he decided to rewrite everything on Kotlin. Actually, why not? Small side effect is that all participants of the championship can also take advantage of this opportunity.

P.S. Not all statements of this post are true.


Round 1 and... Whoops!


Round 1 has been launched. You will be surprised - 1090 strategies are participating in it. Yeah, 10 strategies more than there were supposed to be.

That’s how that happened: before Round 1, the number of user games has increased so much, that we had to quickly find new and optimize existing powers. We are sorry for long intervals between games in the Sandbox. The system was stabilized just before the beginning of Round 1, but rating was calculated with a big delay. Only after the launch we realized that we rushed too quickly, and let top 1080 rated users advance to Round 1 before completely updating the rating. Based on the result of last tested Sandbox games 5 additional contestants earned their right to participate in Round 1. And, since games are grouped by ten, we have increased total number of players to 1090 according to the standings in the Sandbox.

Now 1090 strategies will compete in Round 1, trying to get to top 300 to proceed to Round 2. Besides top 300 from Round 1, 60 best participants of the Sandbox (at the moment of Round 2 beginning) will join them in Round 2. Remember, all Round 2 participants will receive a T-shirt. There is something to fight for!

Round 1 will consist of 2 parts, with a break in the middle (Sandbox will be available during the break), that will allow you to improve your strategy. Each part will take 12 hours, and the break is 24 hours long.

Good luck in Round 1!


Scala package and more

A little late, but now anyone can develop their strategies in Scala. Thanks to Pavel Lomovtsev for this package.

For our part, we have fixed the incorrect angle ranges when playing for Renegades. Also fixed a rare bug where minions can move a bonus ;) Some less important improvements and fixes.

We decided to weaken the empower bonus. During the first weeks after the Round 1, the damage ratio will be reduced from 2 to 1.5.

On the forum there is a vote about reducing the role of bonuses. If it succeeds, the number of score points for taking a bonus will be reduced from 200 to 150.

Of course, before the end of Round 1, the rules will remain unchanged.


Results of the week

Hi all!

The first week after the release of the competition coming to an end. We did not sit idly by and now we can summarize.

As many of you already noticed, there are numerous improvements in the web-renderer. Most of them was made by your request.. Dramatically reduced the amount of used RAM, slightly increased speed.

The number of both submissions and custom games are limited to 3 in 20 minutes. It’s not exactly good news, but a necessary step. Some participants last year suggested us to go to for it, to reduce the load of the testing system. In fact, why create more games than you can watch? I hope that now no one will have a long pauses in the Sandbox.

We also optimized the communication protocol between game engine and strategy. Now the amount of transmitted data is smaller and will be easier for us to store it. For you, this means a strategy speedup. The changes did not affect C++ and Pascal. These two languages are too fast already :) The strategies already sent to the system will continue to operate under the old protocol. Keep this in mind when loading dumps by Repater.

We strongly recommend you to download the latest versions of the language packs and utilities.

Like all previous years, we are pleased to introduce the new language packs prepared by community:

  • The D package was prepared by Ivan Gassa Kazmenko with the assistance of Nickolas SirNickolas Boukreev.
  • The Go package is a result of collaborative work of Alexander Barsukov (Irioth) and Eugene Petrov (weterok_ai).
  • After several days of hard work we finally were able to overcome the exorbitant curiosity of NodeJS and integrated the JavaScript strategies to launch under our security restrictions. As an additional security measure, Vasily Kostin (Megabyte) has restricted the loading of some modules in the package. Vasily Kostin has repeatedly won prizes in our competition. We wish him good luck this year!

The end of the beta test

We are pleased to inform and congratulate you about the completion of the first beta week. During this week we made a huge number of improvements and fixes.

Please re-download the latest version of language packs and various utilities. Please note that the 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 list of edits made.

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.


Open beta

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

The beta test will run until 21:00 UTC on 13 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. We are counting also on the community and you.

This is the first time we open our championship for English-speakers. Not all the texts are translated yet, but we are working hard on it.

The ratings will be reset after this week of beta.

Good luck and have fun!


  • November 10: the game engine now spawns two bonuses at once; increased amount of score points for taking a bonus from 100 to 200; slightly increased damage of all buildings.
Latest games of leaders
and more 8 participants
and more 8 participants
Round 1
# Name Rating
1 NighTurs NighTurs 387
2 Antmsu Antmsu 384
3 vzverev78 vzverev78 382
4 Banzzaj Banzzaj 380
5 Recar Recar 380
6 Hohol Hohol 378
7 tyamgin tyamgin 378
8 Commandos Commandos 377
9 Levatol Levatol 372
10 byserge byserge 370
# Name Rating
1 Recar Recar 3521
2 Commandos Commandos 3502
3 kirdark kirdark 3499
4 Antmsu Antmsu 3485
5 cheeser cheeser 3474
6 NighTurs NighTurs 3453
7 TonyK TonyK 3449
8 ud1 ud1 3433
9 byserge byserge 3432
10 Spasitel Spasitel 3425