Open AI Championship

Rules

Round 1: before start

Project

Sandbox

Round 1

Round 2

Finals

Recent comments

20 november 05:43: AlexKol wrote comment on post Language packages
20 november 05:40: AlexKol wrote comment on post Round 1
20 november 02:59: dimir wrote comment on post Round 1
20 november 01:58: RolandD wrote comment on post Round 1
20 november 01:48: SladeThe wrote comment on post Language packages
20 november 01:16: Zabidon wrote comment on post Language packages
19 november 22:32: SladeThe wrote comment on post Repeater utility
19 november 22:28: MrMorozis wrote comment on post Repeater utility
19 november 22:13: mixei4 wrote comment on post Language packages
19 november 22:02: AlexKol wrote comment on post Language packages

VK Group

Telegram chat

 

You can download rules in PDF format. There you can find the format of the championship, the description of the game world and technical characteristics of the objects. Also, you will find JavaDocs for all standard classes used in the strategies.

The rules are also published at GitHub. Just like on out site, you can always find actual version of the rules, and follow the history of changes made.

Last version:

  • November 13: 1.0.2.


jurifoll

jurifoll

Moscow

Powered by Yandex.Translate

Something from the rules is not clear how to take into account “protection” when calculating the final damage. Is subtracted from the attack? Then what if the more attack damage is not applied?

Nov 7, 2017 1:58:05 AM
zn-soft

zn-soft

Соллерс

Powered by Yandex.Translate

Is it possible to use the strategy is not described in the documentation, but present in the model class PlayerContext ?

Nov 7, 2017 7:40:57 AM
grindos

grindos

Moscow

Powered by Yandex.Translate

Link to GitHub is broken.

Nov 7, 2017 10:51:47 AM
AlexKol

AlexKol

BB

Powered by Yandex.Translate

And as to the size of the entire world? world.Width/Height is the size of the window where the action

Nov 7, 2017 11:08:34 AM
theShade

theShade

Crypton/RDL

Powered by Yandex.Translate

From the rules: “the Amount of equipment each player early in the game in multiples of 100. Equipment is divided into groups of 100 units each.” That’s only in the beginning of the game about 5 groups. 5 x 100 = 500. 500 > 100

Nov 7, 2017 11:32:55 AM
theShade

theShade

Crypton/RDL

Powered by Yandex.Translate

And all understood. “Multiple” is ignored

Nov 7, 2017 11:33:25 AM
Antik

Antik

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

And as to the size of the entire world? world.Width/Height is the size of the window where the action

game.getWorldHeight(); game.getWorldWidth();

Nov 7, 2017 12:29:26 PM
Antik

Antik

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

And as to the size of the entire world? world.Width/Height is the size of the window where the action

game.getWorldHeight(); game.getWorldWidth();

Nov 7, 2017 12:29:26 PM
AlexKol

AlexKol

BB

Antik

Antik

Киев

Powered by Yandex.Translate

game.getWorldHeight(); game.getWorldWidth();

No, I understood what kind of field is from the centre. from -world.Width to world.Width and from -world.Height to world.Height

Nov 7, 2017 12:33:14 PM
Antik

Antik

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

No, I understood what kind of field is from the centre. from -world.Width to world.Width and from -world.Height to world.Height

The Playground area is limited square, top-left corner has coordinates (0.0, 0.0), and side length equal to 1024.0. //the rules. paragraph 2.2 Description of the game world

Nov 7, 2017 12:36:36 PM
AlexKol

AlexKol

BB

Antik

Antik

Киев

Powered by Yandex.Translate

The Playground area is limited square, top-left corner has coordinates (0.0, 0.0), and side length equal to 1024.0. //the rules. paragraph 2.2 Description of the game world

From this description we can assume that the world is still not 0 to 1024 “Valid values for ActionType action.MOVEявляются real numbers from -game.worldWidthдо game.worldWidthвключительно.”

Nov 7, 2017 12:42:14 PM
AlexKol

Powered by Yandex.Translate

From this description we can assume that the world is still not 0 to 1024 “Valid values for ActionType action.MOVEявляются real numbers from -game.worldWidthдо game.worldWidthвключительно.”

But this is nonsense, most likely a typo. Never seen someone objects to a negative value.

Nov 7, 2017 12:57:07 PM
Antik

Antik

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

But this is nonsense, most likely a typo. Never seen someone objects to a negative value.

The values are simply correct. But when you try to cross the playing area, the simulator will stop the unit. Can be used to specify directions. The Playground area is limited to [0, 1024] along two axes.

Nov 7, 2017 1:02:12 PM
Antik

Antik

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

But this is nonsense, most likely a typo. Never seen someone objects to a negative value.

Yeah. here SetX is a required parameter for the action ActionType.MOVE and sets the target the amount of displacement units along the x-axis. The offset can indeed be negative when moving left to SetX and SetY up in

Nov 7, 2017 1:05:30 PM
PlayerDark

Powered by Yandex.Translate

I do not understand how to calculate the visibility of equipment. Only the cell which is a unit, or all of the cells between the two units?

Nov 7, 2017 2:13:01 PM
DistinGa

DistinGa

СибГАУ им. Решетнева

Powered by Yandex.Translate

I do not understand how to calculate the visibility of equipment. Only the cell which is a unit, or all of the cells between the two units?

Only the cells in which there is equipment. I.e. it is possible that two tanks are on both sides of the forest belt of the two cells and see each other. And when someone will call into the woods - haven’t seen already :)

Nov 7, 2017 2:27:24 PM
DistinGa

DistinGa

СибГАУ им. Решетнева

Powered by Yandex.Translate

Wondering now, how visibility is considered in situations of ground-to-air and air-ground.

Nov 7, 2017 2:29:24 PM
PlayerDark
DistinGa

DistinGa

СибГАУ им. Решетнева

Powered by Yandex.Translate

Wondering now, how visibility is considered in situations of ground-to-air and air-ground.

Well, the definition of visibility seems to be one-sided, so take the appropriate coefficients.

Nov 7, 2017 3:23:51 PM
PlayerDark

Powered by Yandex.Translate

By the way, Bramy can hilite and flying units? If Yes, then for them it will be a major task.

Nov 7, 2017 3:25:17 PM
Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

It is possible to obtain a list of all units? world.getVehicleUpdates strangely works. For example, on a zero tick, it gives an empty list

Nov 7, 2017 6:37:18 PM
SteveRU

SteveRU

Санкт-Петербург

Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

It is possible to obtain a list of all units? world.getVehicleUpdates strangely works. For example, on a zero tick, it gives an empty list

0 because no one has committed no act, respectively, none of the field units has not changed. On 0 it is necessary to use genNewVehicle

Nov 7, 2017 6:41:08 PM
SteveRU

SteveRU

Санкт-Петербург

Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

It is possible to obtain a list of all units? world.getVehicleUpdates strangely works. For example, on a zero tick, it gives an empty list

And on subsequent ticks to use just VehicleUpdate

Nov 7, 2017 6:41:47 PM
SladeThe

SladeThe

Russian AI Cup Team

Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

It is possible to obtain a list of all units? world.getVehicleUpdates strangely works. For example, on a zero tick, it gives an empty list

Full list of equipment is not transmitted every tick in order to minimize the data transmitted and the client uses CPU time. You must maintain up to date collection of technology, as is done for example in the example from the section “Quick start”.

Nov 7, 2017 6:58:33 PM
kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

  1. The rules state A “conflict of units between themselves and with the map boundaries, is not allowed game simulator. The exception is air units belonging to different players”

But what happens when conflict between two air units? They crash and self-destruct? Or you could take the same cage?

  1. From the rules it is not clear what the protection unit and how is calculated the damage?

  2. Games are always 1 on 1? In the rules there are “hints” that it is not always.

  3. As the group moves to the specified point? As they lined up at the end of the road? Try to line up in a square or lined up a bunch trying to take a position closer to the designated point? To set the units of the chain have a lot of shaman with an individual allocation and movement?

  4. BRAM repairs air units? BRAM repairs only fixed units (those who have Action != MOVE and ROTATE)?

Nov 7, 2017 7:34:33 PM
steleal

steleal

Ульяновск

kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

The rules state A “conflict of units between themselves and with the map boundaries, is not allowed game simulator. The exception is air units belonging to different players”     But what happens when conflict between two air units? They crash and self-destruct? Or you could take the same cage?  ...
  1. There are no cells as such. If one unit runs into another, it just does not goes farther, and is waiting for either new indications, to make way. 2.Damage calculated as an attack of your unit minus the enemy’s protection. So, the tank attack ground 100, defense 80 from the ground. Damage to the tank on the tank - 20. Five shots they will kill each other. 3. Move in a straight line. At the end of the line up in starting order. To the center of the approach will not. Yes, shaman.
  2. BREM refit air units if they are in range of it.

Nov 7, 2017 8:01:36 PM
steleal

steleal

Ульяновск

Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

It is possible to obtain a list of all units? world.getVehicleUpdates strangely works. For example, on a zero tick, it gives an empty list

The inability to get a full list of units each tick has a pleasant side effect: the player on the site this year compared to last - just flies!

Nov 7, 2017 8:08:55 PM
SladeThe

SladeThe

Russian AI Cup Team

dos.moreda

dos.moreda

Sharif University

is there any English document ?

Not now, but will be available soon.

Meanwhile you can read sample Java code here.

Nov 7, 2017 9:27:05 PM
SladeThe

SladeThe

Russian AI Cup Team

Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

There is a ROTATE action. How to select in what direction goes rotation and is it possible to set the direction of rotation (clockwise/anti-CHS) ?

move.angle.

Nov 7, 2017 9:27:43 PM
Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

SladeThe

SladeThe

Russian AI Cup Team

Powered by Yandex.Translate

move.angle.

thank you, did not pay attention.

Nov 7, 2017 9:49:35 PM
Kirchhoff

Kirchhoff

МГУ им. М.В. Ломоносова

Powered by Yandex.Translate

Regarding move.setMaxSpeed. If I point to the tank maximum speed of 0.2, then in the forest he would go, 0.16 or 0.2 is still ?

Nov 7, 2017 10:07:58 PM
Hustlers

Hustlers

СберТех

Powered by Yandex.Translate

  1. Feedback on “done or not” we can’t get, right?
  2. If the work of any “move” fails to run for 1 tick, then next tick is skipped?

Nov 7, 2017 10:30:16 PM
kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

Error in the rules “Order selected units to meremetsa in that direction.”

Nov 7, 2017 11:05:40 PM
jurifoll

jurifoll

Moscow

Powered by Yandex.Translate

>Damage calculated as an attack of your unit minus the enemy’s protection. So, the tank attack ground 100, defense 80 from the ground. Damage to the tank on the tank - 20. Five shots they will kill each other.

Then do I understand that the fighter is immune to tanks?

Nov 8, 2017 12:01:38 AM
serlis

serlis

Харьковский НУ им. Каразина

Powered by Yandex.Translate

And there is an opportunity to highlight all the helicopters and tanks (exactly two types of units). Or, you can select either all or one type?

Nov 8, 2017 12:02:55 AM
serlis

serlis

Харьковский НУ им. Каразина

jurifoll

jurifoll

Moscow

Powered by Yandex.Translate

Damage calculated as an attack of your unit minus the enemy’s protection. So, the tank attack ground 100, defense 80 from the ground. Damage to the tank on the tank - 20. Five shots they will kill each other. Then do I understand that the fighter is immune to tanks?

Yes, local runner owned since

Nov 8, 2017 12:03:29 AM
bearf

bearf

ООО "ГрадоСервис"

Powered by Yandex.Translate

Quote from article 2.4 of the rules:

> Of course, if you disable fog of war has only the value of the speed ratio.

Whether this is true? It seems that the odds of coverage range/stealth even without the fog of war.

Nov 8, 2017 12:05:40 PM
Sanda

Sanda

JetBrains

bearf

bearf

ООО "ГрадоСервис"

Powered by Yandex.Translate

Quote from article 2.4 of the rules: > Of course, if you disable fog of war has only the value of the speed ratio. Whether this is true? It seems that the odds of coverage range/stealth even without the fog of war.

P. 2.3. In the absence of fog of war, line of sight has no effect on the game. When the fog of war the strategy of the party to get the data only those enemy units that are within the coverage range at least one unit of the contestant.

Nov 8, 2017 12:23:18 PM
AlexKol

AlexKol

BB

jurifoll

jurifoll

Moscow

Powered by Yandex.Translate

Damage calculated as an attack of your unit minus the enemy’s protection. So, the tank attack ground 100, defense 80 from the ground. Damage to the tank on the tank - 20. Five shots they will kill each other. Then do I understand that the fighter is immune to tanks?

Yes.

Nov 8, 2017 12:26:15 PM
bearf

bearf

ООО "ГрадоСервис"

Sanda

Sanda

JetBrains

Powered by Yandex.Translate

P. 2.3. In the absence of fog of war, line of sight has no effect on the game. When the fog of war the strategy of the party to get the data only those enemy units that are within the coverage range at least one unit of the contestant.

Ugh. I read this phrase as an indication that the review/visibility affect the probability of being hit.

Thank you.

Nov 8, 2017 12:29:05 PM
AlexKol

AlexKol

BB

Powered by Yandex.Translate

I realized that you can make a group of units, and then even if they are scattered then just group number to allocate them. And even I do not understand how to assign a group, or is it done automatically when I select. And each new selection, the new group? And just need to remember things.

Nov 8, 2017 2:23:17 PM
callidus

callidus

Киев

AlexKol

AlexKol

BB

Powered by Yandex.Translate

I realized that you can make a group of units, and then even if they are scattered then just group number to allocate them. And even I do not understand how to assign a group, or is it done automatically when I select. And each new selection, the new group? And just need to remember things.

For group assignment need two steps: 1. Select the desired units (for example by using CLEAR_AND_SELECT) 2. To assign selected units to a group by using the ASSIGN

In order to then allocate the units within the group, you need to use the same CLEAR_AND_SELECT with setGroup

Nov 8, 2017 2:46:45 PM
AlexKol

AlexKol

BB

callidus

callidus

Киев

Powered by Yandex.Translate

For group assignment need two steps: 1. Select the desired units (for example by using CLEAR_AND_SELECT) 2. To assign selected units to a group by using the ASSIGN In order to then allocate the units within the group, you need to use the same CLEAR_AND_SELECT with setGroup

So, thank you. Extra steps damn…

Nov 8, 2017 2:55:34 PM
callidus

callidus

Киев

serlis

serlis

Харьковский НУ им. Каразина

Powered by Yandex.Translate

And there is an opportunity to highlight all the helicopters and tanks (exactly two types of units). Or, you can select either all or one type?

You can use ADD_TO_SELECTION add a new type to the already selected

Nov 8, 2017 2:55:47 PM
AlexKol

AlexKol

BB

Powered by Yandex.Translate

And it is possible to tell objects to move, and to the point, and not move to the specified vector?

Nov 8, 2017 3:10:58 PM
gorser

gorser

СКФУ

Powered by Yandex.Translate

is there a cooldown on the action selection? for example 1 tick I do clearandselect for 40 units of the 100, and on the 2nd tick addselection for 40 units of a different type I have not allocated the second type…. PS I am writing in c#

Nov 9, 2017 2:40:24 AM
GoodDalek

GoodDalek

АлтГУ

AlexKol

AlexKol

BB

Powered by Yandex.Translate

And it is possible to tell objects to move, and to the point, and not move to the specified vector?

well, simple math: move.setX(targetX - x); move.setY(targetY - y); where (x,y) current position

Nov 9, 2017 6:54:40 AM
AlexKol

AlexKol

BB

GoodDalek

GoodDalek

АлтГУ

Powered by Yandex.Translate

well, simple math: move.setX(targetX - x); move.setY(targetY - y); where (x,y) current position

Not in that sense. That’s understandable. So they are not the group was moving and was going.

Nov 9, 2017 7:41:21 AM
GoodDalek

GoodDalek

АлтГУ

AlexKol

AlexKol

BB

Powered by Yandex.Translate

Not in that sense. That’s understandable. So they are not the group was moving and was going.

Type “move”, “on the parade ground in 3 rows of Posterous”. No, it doesn’t work.

Nov 9, 2017 7:56:30 AM
Spasitel

Spasitel

Сбербанк Технологии

Powered by Yandex.Translate

And it is normal that constructing a “break down” over time? For example, if you select a group of tanks and fighters and give them commands to go to 20 to the right, quite rare to have time to finish execution of the previous command, the fighters will eventually fly far ahead. That is, the team is group - 20 to the right, and in fact the tanks 15 to the right fighter 25

Nov 9, 2017 12:03:55 PM
AlexKol

AlexKol

BB

Spasitel

Spasitel

Сбербанк Технологии

Powered by Yandex.Translate

And it is normal that constructing a “break down” over time? For example, if you select a group of tanks and fighters and give them commands to go to 20 to the right, quite rare to have time to finish execution of the previous command, the fighters will eventually fly far ahead. That is, the team is group - 20 to the right, and in fact the tanks 15 to the right fighter 25

You need to use the speed of the slowest unit * 0.6, then the build is not 100% scattering.

Nov 9, 2017 12:52:40 PM
crabar0

Powered by Yandex.Translate

And the tanks can actually attack air units? Visually I got the impression that they ignored the interceptors I in the local games.

Nov 9, 2017 3:22:46 PM
AlexKol

Powered by Yandex.Translate

And the tanks can actually attack air units? Visually I got the impression that they ignored the interceptors I in the local games.

Damage to the tank on the plane, less than the protection of aircraft from ground units.

Nov 9, 2017 3:30:10 PM
crabar0

Powered by Yandex.Translate

Damage to the tank on the plane, less than the protection of aircraft from ground units.

Exactly, thank you!

Another question about formations. For example, I joined the group of different types of equipment. So they gathered in a common formation. If I limit the speed and send them, for example, in the center of the map, the distance between the pieces of the group will increase, as I understand it. If I restrict distance will save in initial position. And how to group them into one point? Tried to make a MOVE with a zero offset, but nothing happens. Or should we put the pieces into the right position, and then to group?

Nov 9, 2017 3:41:22 PM
AlexKol

Powered by Yandex.Translate

Exactly, thank you! Another question about formations. For example, I joined the group of different types of equipment. So they gathered in a common formation. If I limit the speed and send them, for example, in the center of the map, the distance between the pieces of the group will increase, as I understand it. If I restrict distance will save in initial position. And how to group them into one point? Tried to make a MOVE with a zero offset, but nothing happens. Or should we put the pieces into the right position, and then to group?

There is no miracle method of doing that. You need to program it yourself. Now whoever wins will be able to make a more powerful bunch.

Nov 9, 2017 3:44:54 PM
Khao

Khao

Екатеринбург

Powered by Yandex.Translate

I have not worked the group call and returns to her commands. Example:

  1. ClearAndSelect choice of helicopters (got).
  2. Assign 1 (it is not clear whether there was something or not).
  3. Move somewhere (flew)
  4. ClearAndSelect selection of all tanks (got)
  5. Assign 2
  6. Move somewhere (were buried). – and then
  7. ClearAndSelect Group=1 (no other options)
  8. Move somewhere and nothing happens.

The rules should work. Am I doing something wrong?

Nov 9, 2017 5:51:31 PM
GoodDalek

GoodDalek

АлтГУ

Powered by Yandex.Translate

between 2 and 3 should once again clear and select (select 1 group), and so by analogy

Nov 9, 2017 6:04:00 PM
Khao

Khao

Екатеринбург

GoodDalek

GoodDalek

АлтГУ

Powered by Yandex.Translate

between 2 and 3 should once again clear and select (select 1 group), and so by analogy

No. Why? Assign does not remove the same selection. Paragraph 3 works as it should. Not running a bunch of 7-8.

Nov 9, 2017 6:08:41 PM
GoodDalek

GoodDalek

АлтГУ

Khao

Khao

Екатеринбург

Powered by Yandex.Translate

No. Why? Assign does not remove the same selection. Paragraph 3 works as it should. Not running a bunch of 7-8.

Oh, that’s right. Can for assign not all the data. Left, top, right, bottom

Nov 9, 2017 6:15:02 PM
callidus

callidus

Киев

Khao

Khao

Екатеринбург

Powered by Yandex.Translate

No. Why? Assign does not remove the same selection. Paragraph 3 works as it should. Not running a bunch of 7-8.

Check whether the units attached to the group, the Vehicle parameter corresponding

Nov 9, 2017 6:16:35 PM
Khao

Khao

Екатеринбург

GoodDalek

GoodDalek

АлтГУ

Powered by Yandex.Translate

Oh, that’s right. Can for assign not all the data. Left, top, right, bottom

No need to Assign anything in addition to the group :). However, the question is removed, the mistake was found, with the rules has nothing to do.

Nov 9, 2017 6:17:09 PM
vzverev78

vzverev78

Softgrad Solutions

Powered by Yandex.Translate

What does the “control center (CONTROL_CENTER): increases the limit of the number of action strategy 2 for 60 ticks”? Not found anywhere else mention limit the number of actions. One tick — one action? If can be more, as their transfer strategy?

Nov 10, 2017 4:24:11 AM
vzverev78

vzverev78

Softgrad Solutions

vzverev78

vzverev78

Softgrad Solutions

Powered by Yandex.Translate

What does the “control center (CONTROL_CENTER): increases the limit of the number of action strategy 2 for 60 ticks”? Not found anywhere else mention limit the number of actions. One tick — one action? If can be more, as their transfer strategy?

Found: “Initially, the number of possible actions the strategy is limited to 6 moves per 60 ticks.”

Nov 10, 2017 4:26:42 AM
kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

Unit can be several groups? Then, when you highlight any of them, he will be deemed to be allocated and the command will act on it?

Nov 10, 2017 9:09:28 PM
AlexKol

AlexKol

BB

kirimedia

kirimedia

Moscow

Powered by Yandex.Translate

Unit can be several groups? Then, when you highlight any of them, he will be deemed to be allocated and the command will act on it?

Yes

Nov 10, 2017 9:37:00 PM
ohdamn_jesus

ohdamn_jesus

СПбГУТ им. Бонч-Бруевича

Powered by Yandex.Translate

Please tell me, what do you mean “Initially, the number of possible actions strategy limited to 12 moves for 60 ticks”? The allocation of unit counts as progress? or only move is their any movement?

Nov 10, 2017 10:36:52 PM
griboedov

griboedov

Севастополь

ohdamn_jesus

ohdamn_jesus

СПбГУТ им. Бонч-Бруевича

Powered by Yandex.Translate

Please tell me, what do you mean “Initially, the number of possible actions strategy limited to 12 moves for 60 ticks”? The allocation of unit counts as progress? or only move is their any movement?

all considered, any Action in the Move - it is considered an action. Well, except NONE

Nov 10, 2017 10:55:57 PM
vladrishe

vladrishe

Краснодар

AlexKol

AlexKol

BB

Powered by Yandex.Translate

You need to use the speed of the slowest unit * 0.6, then the build is not 100% scattering.

It turns out, the speed ratio determines the maximum speed of the unit on the ground?

PS: the rules state: “If the rate coefficients and distance vision everything is clear ..”. However, that kind of logic doesn’t seem obvious to me…

Nov 11, 2017 12:34:43 AM
AlexKol

AlexKol

BB

vladrishe

vladrishe

Краснодар

Powered by Yandex.Translate

It turns out, the speed ratio determines the maximum speed of the unit on the ground? PS: the rules state: “If the rate coefficients and distance vision everything is clear ..”. However, that kind of logic doesn’t seem obvious to me…

I immediately realized)

Nov 11, 2017 5:49:47 AM
Spasitel

Spasitel

Сбербанк Технологии

Powered by Yandex.Translate

Suggestion for improving the documentation: Maybe we should add to the description of possible actions of the player which parameters must be set for this action? That is, to move (or better duplicate) this information from the description methods class methods ActionType Move in.

Nov 11, 2017 7:51:19 PM
ohdamn_jesus

ohdamn_jesus

СПбГУТ им. Бонч-Бруевича

Powered by Yandex.Translate

But whether it is possible to determine at any time where the technique of the enemy?) if how?

Nov 11, 2017 10:05:22 PM
Jeners
ohdamn_jesus

ohdamn_jesus

СПбГУТ им. Бонч-Бруевича

Powered by Yandex.Translate

But whether it is possible to determine at any time where the technique of the enemy?) if how?

You need to shatirova two arrays obtained by methods getNewVehicles and getVehicleUpdates. In fact almost the same Update that array and getNew but somewhat “castrated” - i.e. there are no variables such as the type of equipment, the ID of the player, etc. (which are basically unchanged) and in the end you just need to read the result of a commutation

Nov 11, 2017 10:17:36 PM
PlayerDark

Powered by Yandex.Translate

What I learned: turning a completely useless command, because defined in relative coordinates, and directions of the group there is no way.

Nov 11, 2017 11:14:11 PM
Jeners

Powered by Yandex.Translate

What I learned: turning a completely useless command, because defined in relative coordinates, and directions of the group there is no way.

The direction of movement? Consider the vector x.y minus the previous x,y. If the question is about the current rotation groups, it is worth to have a variable that is going to track or otherwise

Nov 11, 2017 11:20:42 PM
PlayerDark

Powered by Yandex.Translate

The direction of movement? Consider the vector x.y minus the previous x,y. If the question is about the current rotation groups, it is worth to have a variable that is going to track or otherwise

Well, Yes, but then all mixed up and given angle will cease to be relevant. Technique behaves unpredictably.

Nov 11, 2017 11:26:32 PM
fatbis

When will you publish the rules in English? Because i dont still know how to use some of methods, please publish in english asap

Nov 13, 2017 6:47:01 PM
SladeThe

SladeThe

Russian AI Cup Team

When will you publish the rules in English? Because i dont still know how to use some of methods, please publish in english asap

Unfortunately our translators are delaying rules in English. It may take up to a week. If you don’t understand some things, just ask here and I’ll try to explain.

Nov 14, 2017 1:07:25 AM
cArmius

cArmius

МГУ

Powered by Yandex.Translate

I honestly do not understand why source code on the 3rd Python there is no one Move method and variables only. and how to remember group?

if I do 4 steps: 1) CLEAN_AND_SELECT 2) ASSIGN move.group = 1 3) ClAEN_AND_SELECT move.group = 1 4) MOVE then, as I understand I have to select a group of units, to record their group number to “1” to select “1” and move it - but nothing happens

Nov 14, 2017 7:06:32 AM
cArmius

cArmius

МГУ

Powered by Yandex.Translate

and yet - how can I find out the coordinates of the unit? I have a unit with id 1 for example. and x,y do not change while driving =/

Nov 14, 2017 9:27:59 AM
13human

13human

Квартплата 24

cArmius

cArmius

МГУ

Powered by Yandex.Translate

and yet - how can I find out the coordinates of the unit? I have a unit with id 1 for example. and x,y do not change while driving =/

Limit one team per tick, but no more than X times in 60 ticks (need to check me.getRemainingActionCooldownTicks). Each tick coming world.getVehicledUpdates, which are changes in the state units.

Nov 14, 2017 9:35:35 AM
cArmius

cArmius

МГУ

13human

13human

Квартплата 24

Powered by Yandex.Translate

Limit one team per tick, but no more than X times in 60 ticks (need to check me.getRemainingActionCooldownTicks). Each tick coming world.getVehicledUpdates, which are changes in the state units.

the fact is, I still have their own means to track changes in coordinate units?! what?! that kind of nonsense.

Nov 14, 2017 9:59:29 AM
AlexKol

AlexKol

BB

cArmius

cArmius

МГУ

Powered by Yandex.Translate

the fact is, I still have their own means to track changes in coordinate units?! what?! that kind of nonsense.

The documentation you generally read?

Nov 14, 2017 10:09:23 AM
cArmius

cArmius

МГУ

AlexKol

AlexKol

BB

Powered by Yandex.Translate

The documentation you generally read?

open the documentation. look at a bunch of methods in it. open the Python piece, for example, VehicleUpdate. upset that there is no single method.

Yes, I have read the documentation. I have several hours trying to figure out how this puzzle is related to my language pack.

Nov 14, 2017 10:20:37 AM
AlexKol

AlexKol

BB

cArmius

cArmius

МГУ

Powered by Yandex.Translate

open the documentation. look at a bunch of methods in it. open the Python piece, for example, VehicleUpdate. upset that there is no single method. Yes, I have read the documentation. I have several hours trying to figure out how this puzzle is related to my language pack.

If I remember correctly, the documentation says what data you get on and what you need to track all changes in objects. The code is 50 lines I, 40 additional calculations which are not in fact need someone.

Nov 14, 2017 10:26:22 AM
xomachine

xomachine

ННГУ им. Лобачевского

cArmius

cArmius

МГУ

Powered by Yandex.Translate

open the documentation. look at a bunch of methods in it. open the Python piece, for example, VehicleUpdate. upset that there is no single method. Yes, I have read the documentation. I have several hours trying to figure out how this puzzle is related to my language pack.

The lion’s share of the documentation methods - getters and setters. In Python, fortunately, of this mess no, you can just assign a value to a variable without unnecessary layers. Although some methods in Python is still there. For Example, A Vehicle.update or World.get_my_player.

Nov 14, 2017 10:43:24 AM
cArmius

cArmius

МГУ

xomachine

xomachine

ННГУ им. Лобачевского

Powered by Yandex.Translate

The lion’s share of the documentation methods - getters and setters. In Python, fortunately, of this mess no, you can just assign a value to a variable without unnecessary layers. Although some methods in Python is still there. For Example, A Vehicle.update or World.get_my_player.

in the end, and made via update - run a stored list and if a match id of the object you are updating it. but the point is that it takes CPU time from the participant, and if given the right coordinates each turn (absolute), then this time would be employed on the server side.

Nov 14, 2017 10:59:25 AM
AlexKol

AlexKol

BB

cArmius

cArmius

МГУ

Powered by Yandex.Translate

in the end, and made via update - run a stored list and if a match id of the object you are updating it. but the point is that it takes CPU time from the participant, and if given the right coordinates each turn (absolute), then this time would be employed on the server side.

Everything has an explanation.

Nov 14, 2017 11:04:13 AM
xelmed91

Powered by Yandex.Translate

Any packages are available in addition to standard? For example numpy for python?

Nov 14, 2017 11:13:10 AM
tyamgin

tyamgin

Симферополь

Powered by Yandex.Translate

Any packages are available in addition to standard? For example numpy for python?

It is written as “Python with NumPy and SciPy”

http://russianaicup.ru/p/packs

Nov 14, 2017 11:31:23 AM
xomachine

xomachine

ННГУ им. Лобачевского

cArmius

cArmius

МГУ

Powered by Yandex.Translate

in the end, and made via update - run a stored list and if a match id of the object you are updating it. but the point is that it takes CPU time from the participant, and if given the right coordinates each turn (absolute), then this time would be employed on the server side.

Well, the CPU time by the participant will be employed in any case (unless the strategy is slightly more complicated Quick start), because units need to classify, cluster, etc. System updates even a little bit saves time, in my opinion.

Nov 14, 2017 11:37:16 AM
MrErsh

MrErsh

ЮУрГУ (НИУ)

Powered by Yandex.Translate

In the World properties-two-dimensional arrays(like TerrainByCellXY) it is guaranteed that all rows have the same length?

Nov 14, 2017 9:31:05 PM
SladeThe

SladeThe

Russian AI Cup Team

When will you publish the rules in English? Because i dont still know how to use some of methods, please publish in english asap

The rules in English are available to download.

Nov 15, 2017 7:22:47 PM
andrey_bogdanov

Powered by Yandex.Translate

Damage to the tank on the plane, less than the protection of aircraft from ground units.

The fact that the protection of more damage so that tanks can’t be fighters? Or still can, but the attack can significantly less? If there are then how? 60, 10(70-60) or factor?

Nov 15, 2017 7:24:43 PM
Sanda

Sanda

JetBrains

Powered by Yandex.Translate

The fact that the protection of more damage so that tanks can’t be fighters? Or still can, but the attack can significantly less? If there are then how? 60, 10(70-60) or factor?

Can’t, Yes.

Nov 15, 2017 7:33:13 PM
mi5

mi5

Симферополь

Powered by Yandex.Translate

Fuck up the game with nuclear bombs. Pellet and so would have resolved because of the factories.

Nov 16, 2017 9:02:53 AM
4way

4way

Organization::Первый Бит

mi5

mi5

Симферополь

Powered by Yandex.Translate

Fuck up the game with nuclear bombs. Pellet and so would have resolved because of the factories.

this element of the game, which was added by the developers, and it is very cool, as it added a lot of new maneuvers for action.

Nov 16, 2017 10:07:22 AM
yayuye

Powered by Yandex.Translate

How to know the location of a nuclear strike? Found this in the api, but the top strategies to do it.

Nov 16, 2017 10:47:40 AM
yayuye

Powered by Yandex.Translate

How to know the location of a nuclear strike? Found this in the api, but the top strategies to do it.

your opponent can call getNextNuclearStrikeTickIndex() and getNextNuclearStrikeX/Y ?

Nov 16, 2017 10:50:55 AM
jurifoll

jurifoll

Moscow

Powered by Yandex.Translate

Yes, I’m afraid the new rules a nuclear strike will only reinforce the trend of gathering in large groups. Small detachments to blast even more vulnerable.

Nov 16, 2017 11:00:20 AM
4way

4way

Organization::Первый Бит

Powered by Yandex.Translate

your opponent can call getNextNuclearStrikeTickIndex() and getNextNuclearStrikeX/Y ?

Yes choose the enemy and call these methods. plus the cooldown on yaderku look.

Nov 16, 2017 11:25:46 AM
andrey_bogdanov
Sanda

Sanda

JetBrains

Powered by Yandex.Translate

Can’t, Yes.

Are you serious?? Then do not understand why the table indicates “damage attack against air targets” in the Tank 60 units. Why not a dash then??

Nov 16, 2017 11:33:14 AM
AlexKol

Powered by Yandex.Translate

Are you serious?? Then do not understand why the table indicates “damage attack against air targets” in the Tank 60 units. Why not a dash then??

Because the tank may attack the helicopter. But can not break the plane. And the plane can only attack air units.

Nov 16, 2017 11:36:07 AM
andrey_bogdanov

Powered by Yandex.Translate

The guys from the administration please answer. Still not clear… Damage one attack ground targets in a fighter is indicated by “ - ” it is clear the fighter generally can’t do anything against ground targets. It is not clear with regards to tanks!!! Damage one attack ground targets the tank 60. (The Protection of ground targets from the helicopter 40, the fighter 70) Specifically, how much the tank causing damage to the helicopter and fighter jet??? Thank you.

Nov 16, 2017 11:41:11 AM
andrey_bogdanov

Powered by Yandex.Translate

The guys from the administration please answer. Still not clear… Damage one attack ground targets in a fighter is indicated by “ - ” it is clear the fighter generally can’t do anything against ground targets. It is not clear with regards to tanks!!! Damage one attack ground targets the tank 60. (The Protection of ground targets from the helicopter 40, the fighter 70) Specifically, how much the tank causing damage to the helicopter and fighter jet??? Thank you.

damn. of course, “Tanks at AIR targets”! how long has the tank at the helicopter and fighter jet?

Nov 16, 2017 11:42:31 AM
andrey_bogdanov

Powered by Yandex.Translate

Because the tank may attack the helicopter. But can not break the plane. And the plane can only attack air units.

Thank you! Understand about. I apologize for the spam later read the answer( The tank isn’t hitting fighter. And the helicopter is 20 or damage?

Nov 16, 2017 11:46:08 AM
AlexKol

Powered by Yandex.Translate

Thank you! Understand about. I apologize for the spam later read the answer( The tank isn’t hitting fighter. And the helicopter is 20 or damage?

The tank doesn’t hit the fighter because it can cause damage, I think. Although it would be cool if he was shooting at the fighter. And the helicopter all right 20 damage.

Nov 16, 2017 11:48:32 AM
Sanda

Sanda

JetBrains

AlexKol

AlexKol

BB

Powered by Yandex.Translate

The tank doesn’t hit the fighter because it can cause damage, I think. Although it would be cool if he was shooting at the fighter. And the helicopter all right 20 damage.

The tank doesn’t hit the fighter, because it is written in the rules (:

P. 2.3.: <…> potential damage of one attack (<damage>−<security>) <…> If the potential damage on purpose is not a positive number, it is considered that the unit cannot attack the target.

Nov 16, 2017 12:12:24 PM
tyamgin

tyamgin

Симферополь

Powered by Yandex.Translate

It seems that in Chapter 2.6 (page 12) forgot to describe at what point does the explosion of a bomb.

Nov 18, 2017 4:10:03 PM