Open AI Championship

The championship is currently in beta stage / Чемпионат находится в стадии бета-теста

AI Cup — artificial intelligence programming contest

Round 1: before start



Round 1

Round 2


Recent comments

4 december 01:05: skyfox wrote comment on post Rules
4 december 00:16: MikeWazowski wrote comment on post Rules
4 december 00:05: Neo7k wrote comment on post Rules
3 december 21:26: sergeev.miha wrote comment on post Quick start
3 december 21:13: Ver_Nick wrote comment on post Quick start
3 december 17:53: luckman17 wrote comment on post Improved moving mechanics
3 december 17:39: snikes wrote comment on post Quick start
3 december 17:37: snikes wrote comment on post Quick start
3 december 17:21: Sardukar wrote comment on post Quick start
3 december 13:47: DolfWolkov wrote comment on post Quick start

VK Group

Telegram chat


This year task — CodeCraft

Write an artificial intelligence to control a team of units, build, gather resources and attack your enemy. Compete with other participants in the championship!

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

Ninth AI Cup championship is named CodeCraft. You are to program an artificial intelligence to play the game. 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, JavaScript, 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 28; until December 5 will be beta-testing, system instability and significant changes in the rules are possible during this period.
  • Round 1: December 12-13.
  • Round 2: December 19-20.
  • Finals: December 26-28.

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

Championship News


Improved moving mechanics

Moving mechanics have been improved, meaning you can now make two or more units follow each other without a gap between them. Also, the cost of building new entities has been made dynamic - more entities of a type you have, the more a new one costs. In the new version of client packages EntityProperties::cost has been renamed to initial_cost. See details in the rules.


  • Slower repairing
  • Changed Ruby interpreter to JRuby
  • Added numpy to PyPy

Added PyPy

PyPy 3.6 has been added. PyPy is another Python interpreter, and may perform better than CPython.




In the past years, the winners have received prizes, like MacBooks, iPads, watches and hard drives. In addition, we presented 60 hoodies and 360 T-shirts.

Unfortunately, the participants of the previous AI Cup received T-shirts only almost a year later (we delivered the prizes). In a pandemic, we were powerless and not ready.

In this regard, we thought to cancel the merch in this competition, but a the community did not receive this news well. “No promo codes or other virtual prizes needed, we need T-shirts and hoodies” - quote from the community.

Change 1: the prizes are now not physical, but cash. This year’s winners will receive:

  • 1st place - 250,000 rubles.
  • 2nd place - 200,000 rubles.
  • 3rd place - 150,000 rubles.
  • 4th place - 125,000 rubles.
  • 5th place - 100,000 rubles.
  • 6th place - 75,000 rubles.

Sandbox winners (also 6 people) will receive 10,000 rubles each. Amounts are after taxes. We have significantly increased the prize pool.

Change 2: T-shirts and hoodies will be available, but delivery will not be until February. If you don’t want to wait, you can exchange your promotional gift for a promotional code in Group services (cloud, etc.).

All participants in Round 2 will receive T-shirts, and the finalists will receive hoodies.


GitHub Issue Tracker

New updates are now available. Changes:

  • Add builder base to the starting state of Round 2 and Finals
  • Add entity properties values to rules
  • Some changes in entities’ properties
  • Changed action processing order - now, first attack actions are processed for all entities, then build, repair and move actions in same way.
  • Better default camera position
  • Save camera position in preferences
  • Break through option now does not attack allies
  • Fix auto_attack.valid_targets behavior
  • Added colors to scoreboard and models
  • Fixed out of bounds building

You can download new version of the app. Also, GitHub repository is now available with rules, clients and changelog. If you encounter a bug or want to suggest an improvement, please use the issue tracker.


Testing has begun

As you may have noticed, the testing system is now up and running.

Also, there has been small bug fixes in the app, so you can download the new version now:

  • QuickStart is now saving properly when saving config
  • Max population shown now only considers active entities (as it should)
  • Killing your own entities does not give you score

More bugfixes and changes in the balance are coming, stay tuned.


Start of beta-test

Hello everyone!

AI Cup 2020 has finally started, but in beta-test for now. Beta test will last a week, and during this time major changes in rules and balance of the game are possible.

The testing system will be available soon, but you already can read the rules / run games locally as well as start implementing your strategy.

Latest games of leaders
and more 2 participants
and more 2 participants
# Name Rating
1 GreenTea GreenTea 3622
2 LeeTiK LeeTiK 3592
3 Romka Romka 3487
4 eulerscheZahl eulerscheZahl 3415
5 tairesh tairesh 3405
6 Cerner Cerner 3383
7 dgrachev28 dgrachev28 3338
8 cjey cjey 3261
9 R4N4R4M4 R4N4R4M4 3261
10 Yuliy Yuliy 3258