The player whose turn it is currently. That player can send commands. Other players cannot.
The current turn number, starting at 0 for the first player's turn.
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.
The maximum number of interns a player can have.
A list of all jobs. The first element is intern, second is physicists, and third is manager.
Every Machine in the game.
The maximum number of managers a player can have.
The number of Tiles in the map along the y (vertical) axis.
The number of Tiles in the map along the x (horizontal) axis.
The number of materials that spawn per spawn cycle.
The maximum number of turns before the game will automatically end.
The maximum number of physicists a player can have.
List of all the players in the game.
The amount of victory points added when a refined ore is consumed by the generator.
The percent of max HP regained when a unit end their turn on a tile owned by their player.
A unique identifier for the game instance that is being played.
The amount of turns it takes a unit to spawn.
The amount of turns a unit cannot do anything when stunned.
All the tiles in the map, stored in Row-major order. Use x + y *
mapWidth
to access the correct index.
The amount of time (in nano-seconds) added after each player performs a turn.
The number turns a unit is immune to being stunned.
Every Unit in the game.
The amount of combined heat and pressure that you need to win.
Gets the Tile at a specified (x, y) position
an integer between 0 and the mapWidth
an integer between 0 and the mapHeight
the Tile at (x, y) or null if out of bounds
Generated using TypeDoc
Combine elements and be the first scientists to create fusion.