Environment Overview

A description of the Bomberland environment.

In Bomberland you control a team of wizards or knights navigating an abandoned dungeon filled with traps. Your goal is to take down your opponent's units and be the last team left standing.

Objective

Bomberland is played by 2 agents. Each agent controls 3 individual units.

On each game tick, an agent can send at most 1 action to each unit. Additional actions sent during a game tick will be dropped by the game server.

  • Each unit starts with 3 HP.

  • A unit loses 1 HP each time it is struck by an exploding bomb or fire.

  • After being hit, units will have an invulnerability period of 5 ticks.

When a unit loses all its HP, it is considered a dead unit and can no longer send actions.

When an agent loses all its units, it's game over. The team with at least one unit left alive is crowned the winner.

Ties: If the last remaining units of both Agents reach 0 HP on the same game tick, the game will be considered a tie.

Map

The game takes place on a 15x15 grid as shown below:

Actions

The game server ticks every 100 ms.

On each game tick, the game server will accept one of the following actions from a unit:

  • Move in a cardinal direction (up ⬆️, left ⬅️, down ⬇️, right ➡️)

  • Place a bomb 💣

  • Detonate a bomb 💥

Units can only move to empty tiles. If both units try to move to the same empty tile on the same tick, the game server will resolve movements in the order the action packets were received (i.e. the 'faster' unit will occupy the tile, while the 'slower' unit's movement action will be invalid).

Check 🕹️ Action Packets for documentation on sending actions.

Remote Bombs

Ammo

  • Each unit starts the game with 3 Ammo.

  • Placing a bomb costs 1 Ammo.

Remote detonation

  • Bombs can be remotely detonated at any time ≥ 5 ticks after being placed.

  • Bombs will automatically explode 40 ticks after they've been placed.

Explosion behavior

  • An exploding bomb hits any units or blocks with a (starting) blast diameter of 3 tiles (i.e. an explosion will spawn on the current location of the bomb, and to the bottom, top, left, and right of it).

  • An explosion will last for 10 ticks. During this time, units passing through an explosion will take 1 HP of damage (unless they are invulnerable).

  • Bombs can also detonate early if they are hit by a neighboring exploding bomb.

Environment Entities

There are 3 types of blocks in the game:

  1. Wooden blocks, which can be destroyed by a bomb with 1 hit.

  2. Ore blocks, which can be destroyed by bombs in 3 hits.

  3. Metal blocks, which are indestructible (except by end-game fire).

There are 2 types of items that will spawn randomly during the game:

  1. Ammo: Gives you +1 ammo to place a bomb.

  2. Powerup: Extends your bomb blast radius by 1 tile in each direction.

Pickups will perish after 40 ticks, or if hit by an explosion or end-game fire.

Pickups have a 2.5% chance of spawning somewhere on the map for each tick. If a pickup spawns, there is a 90% probability of it being ammo, and 10% for a powerup.

Ring of Fire

After 300 ticks, the map will start to gradually fill up with flames.

Getting hit by flames will incur 1 HP of damage (unless invulnerable).

End-game fire behavior:

  • Fire starts in the top-left and bottom-right corners of the map.

  • Fire spawns in a spiral towards the center of the map (starting along the horizontal axis).

  • Fire spawns every 2 ticks.

  • Fire instantly destroys all blocks and pickups and detonates bombs.

Last updated