Tick
python
Tick = intjava
public static class Tick {
@NotNull
public static Tick of(int value)
public int intValue()
}The game tick is the discrete unit of time used in the OpenFront game.
The way the game works under the hood is that during each tick, all players send their desired actions to the server. At the end of the tick, the server aggregates those actions and sends them to all players, so that players know what others are doing.
In Python, the Tick type is just an alias for int used to make it clear when an integer is representing an amount of game ticks.
By default, a tick is 100 milliseconds long, meaning there are 10 ticks in one second. While you cannot configure the speed of the game, you can plan the execution of your bot and handle tick-related logic accordingly.
