The monetary price of a bomb when bought or sold.
The amount of cargo space taken up by a Bomb.
Every Bomb in the game.
The monetary price of building materials when bought.
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.
The monetary price of dirt when bought or sold.
The amount of damage taken per Tile fallen.
The amount of extra damage taken for falling while carrying a large amount of cargo.
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 amount of building material required to build a ladder.
The amount of mining power needed to remove a ladder from a Tile.
The amount deemed as a large amount of cargo.
The amount deemed as a large amount of material.
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 maximum amount of shielding possible on a Tile.
The maximum number of turns before the game will automatically end.
The highest upgrade level allowed on a Miner.
Every Miner in the game.
The amount of money awarded when ore is dumped in the base and sold.
The amount of value awarded when ore is dumped in the base and sold.
List of all the players in the game.
A unique identifier for the game instance that is being played.
The amount of building material required to shield a Tile.
The amount of mining power needed to remove one unit of shielding off a Tile.
The monetary price of spawning a Miner.
The amount of damage taken when suffocating inside a filled Tile.
The amount of extra damage taken for suffocating under a large amount of material.
The amount of building material required to build a support.
The amount of mining power needed to remove a support from a Tile.
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 cost to upgrade a Miner.
Every Upgrade for a Miner in the game.
The amount of victory points (value) required 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
Mine resources to obtain more value than your opponent.