Start of the Sandbox Championship Russian AI Cup



    Hello!

    Last week, we completed the open beta testing of the Russian AI Cup artificial intelligence programming championship . Participants will play the role of commander of a small detachment of fighters in a turn-based tactical game - to program artificial intelligence and behavioral strategies for a detachment of fighters in one of the programming languages: C ++, Java, C #, Python or Pascal. The game itself this year we called CodeTroopers.

    During the beta testing period, we checked the stability of the system, corrected errors that occurred and saturated the game with content - new maps on which battles will take place.

    November 11 at 00:00 the release of the championship. The Sandbox opened - a testing ground for detachments, while the rating of beta test participants was reset to zero.

    Now everyone can start participating in the championship and, while the Sandbox is open, debug, modify and evaluate the behavior of the artificial intelligence they created in order to prepare their “squad” as much as possible.
    The first round of fights will begin on November 23.

    Both novice programmers and professionals are invited to participate in the competition. No special knowledge is required, basic programming skills are sufficient.

    Go to russianaicup.ru and register. To participate in the competition, one received package is enough, and you will immediately get into the rating!

    Demo visualization of the game can be viewed on our website. And below we want to give an example of the basic strategy of the squad in Java:


    publicfinalclassMyStrategyimplementsStrategy{
        @Override
        public void move(Trooper self, World world, Game game, Move move) {
         if (self.getActionPoints() >= self.getShotCost()) {
             Trooper[] troopers = world.getTroopers();
             for (int i = 0; i < troopers.length; ++i) {
                 Trooper trooper = troopers[i];
                 boolean canShoot = world.isVisible(self.getShootingRange(),
                         self.getX(), self.getY(), self.getStance(),
                         trooper.getX(), trooper.getY(), trooper.getStance()
                 );
                 if (canShoot && !trooper.isTeammate()) {
                     move.setAction(ActionType.SHOOT);
                     move.setX(trooper.getX());
                     move.setY(trooper.getY());
                     return;
                 }
             }
         }
        }
     }
     


    You can read more on the website itself , here are the useful links:
    russianaicup.ru/p/about - about the Russian AI Cup
    russianaicup.ru/p/codeTroopers - o CodeTroopers
    russianaicup.ru/p/quick - Quick Start
    russianaicup.ru/p/ rules - Complete Rules The

    Russian AI Cup is an initiative of Mail.Ru Group in the framework of IT-oriented competitions. In this championship, participants compete in the ability to write artificial intelligence as an example of game strategies. The organizers are Mail.Ru Group and the national research Saratov State University.

    The best participants will receive pleasant prizes:



    If you have questions, you can leave them in the comments to this publication, and we will try to answer them.

    Also popular now: