Open AI Championship

Quick start

Round 1: before start

Project

Sandbox

Round 1

Round 2

Finals

Recent comments

18 december 17:12: httpps wrote comment on post Language packages
18 december 16:51: Kill.La.Kill wrote comment on post Rules
18 december 15:55: alkozel wrote comment on post Language packages
18 december 15:18: imsohate wrote comment on post Language packages
18 december 14:34: AlexeyN wrote comment on post Local runner
18 december 14:03: Flutter wrote comment on post Local runner
18 december 13:42: Ne0 wrote comment on post Language packages
18 december 13:39: AlexKol wrote comment on post Rules
18 december 12:52: ardt2 wrote comment on post Language packages
18 december 12:46: AlexKol wrote comment on post Language packages

VK Group

Telegram chat

 

We’ll show you how to join CodeBall in a few minutes.

Register

Of course, you need to register. We kindly ask all participants to provide accurate and complete information about yourself.

Download language pack

Download the package for your favorite programming language from the language packs page. We support C++, Java, C#, Python 3, Ruby, Kotlin, Rust. Unzip the archive and open an existing project or create a new one from scratch. You may need to configure some paths.

Download Local runner

Local runner is a special version of game engine adapted for participants. Local runner gives you the opportunity to run a test games locally on your computer. Read more about it here.

Read the documentation

The official and complete rules are published in the Rules section, please read them. Some organizational aspects you can find in the descriptions of the Sandbox and stages of the championship (Round 1, Round 2, Finals).

Submit your strategy

You can submit you strategy here. Before the system will accept your strategy, it will be compiled and tested in a few short games. If everything is OK, your strategy will automatically start to participate in regular qualifying games in Sandbox. Carefully read the section “What you should pay attention to” for various aspects due to which your strategy can get the “Verification error” verdict. The total number of submissions are not restricted, however there are restrictions on too frequent submitting. Any attempt to destabilize the system will result in disqualification. You can write your strategy in an arbitrary number of files, you will only need to pack everything into a ZIP archive and send it. All files must be in root of archive. Unfortunately, creating custom packages in the Java strategy is unacceptable. Remember that in your starter pack you can change only the file MyStrategy.${ext} (where ${ext} — extension language you are using), and even if you change some other file and also add it to the archive, it will be replaced on standard (except for MyStrategy.h in C++).

What you should pay attention to

  • it is prohibited to interact with the network, file system and other resources, except for RAM and the current directory, violators will be disqualified;
  • total CPU time of your strategy process is limited (exact details you can find in the documentation);
  • the strategy process should not use more than 256 MB of RAM;
  • if your strategy exceeds the time or memory limit or crashes during the execution, it stops to participate in this game (however, your score points do not expire);
  • the strategy of each participant runs in a separate process.


PlayerDark

PlayerDark

Miass

Make the web client the ability to view the matches tick by tick, that is, to skip one tick forward or backward.

Dec 17, 2018 1:35:56 AM
m4shell

In the section language packs says : “Download the package to your favorite programming language from the page language packs. Supported C++, Java, C#, Pascal, Python2, Python3, and Ruby.”

But the package is for Python 2 is not lined. Will there be support for a second Python?

Dec 17, 2018 12:22:38 PM
nekromant322

Is there any example MyStrategy in Java? The easiest and most obvious to the most stupid

Dec 17, 2018 9:13:22 PM
DonRumata

DonRumata

Saint Petersburg State Polytechnic University

Is there any example MyStrategy in Java? The easiest and most obvious to the most stupid

Shown in Rust’e example is relatively easy to migrate, did the same for the pros. Can’t say that much in the pros understand, and Rust in General saw for the first time in my life, but much time is it didn’t take me. Longer fiddling with the connection windowas libraries for sockets.

Dec 17, 2018 10:12:59 PM
Scarlet

I don’t understand something. Translate this example to C++, and most of the games on the site are, and some are actively moving (http://russianaicup.ru/game/view/773, http://russianaicup.ru/game/view/847). I tried to create a game with the same versions of the same thing: in one both sides are in the other on the one hand are, on the other play (http://russianaicup.ru/game/view/733, http://russianaicup.ru/game/view/1202). How can a strategy so different? Unfortunately, the x86 localendar not brought up, repeater, too, so you can debug while you can only at random, flooding the site.

Dec 18, 2018 9:14:44 AM