logo

Game Description

Grid Strike is a "battleship" like game but with power plants. Each player sets up power plants (nuclear, gas, wind or solar) to meet the required capacity. Players take turns striking at each other's plants to reduce their opponent's capacity.

The game ends when one of the players has below 10% of the defined capacity.

Game is in beta and is updated frequently.

This game is opensource check it out at github.com/xorduna/gridstrike

Power Plants

Power plant Code Icon Capacity Size
NUCLEAR N Nuclear 1000 3 x 3
GAS G Gas 300 2 x 2
WIND W Wind 100 2 x 1 (horiz)
SOLAR S Solar 25 1 x 1

How to Play

  1. Click on "New game" and share the game ID with your friends. A public game will show the position of centrals in the "view" action. Set it to private to show only hits and misses.
  2. Each player sets up their board with power plants to meet the required capacity (currently 1000 MW).
  3. Once both players are ready, the game starts automatically.
  4. Players take turns striking at each other's power plants.
  5. If a power plant is hit, all of its capacity is removed.
  6. The game ends when one player's capacity falls below 10% of the initial capacity.

Game Actions

API Examples

GridStrike is an open game and you are able to program a bot to play with it

Create a Game

POST /api/games?size=10&capacity=1000

Join a Game

POST /api/games/:id/join?player=name

Example response:

{"token": "your-token"}

Set Up a Board

POST /api/games/:id/players/:name/board?token=:token

Example body:


{
  "plants": [
    {
      "type": "NUCLEAR",
      "coordinates": ["A1", "A2", "A3", "B1", "B2", "B3", "C1", "C2", "C3"]
    },
    {
      "type": "GAS",
      "coordinates": ["D1", "D2", "E1", "E2"]
    },
    {
      "type": "WIND",
      "coordinates": ["F1", "F2"]
    },
    {
      "type": "SOLAR",
      "coordinates": ["G1"]
    }
  ]
}

Mark Player as Ready

POST /api/games/:id/players/:name/ready

Strike a Coordinate

POST /api/games/:id/players/:name/strike?target=opponent&y=A&x=1&token=token

Brought to you with 🩷 by maulabs.cat