
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 plant | Code | Icon | Capacity | Size |
|---|---|---|---|---|
| NUCLEAR | N | ![]() |
1000 | 3 x 3 |
| GAS | G | ![]() |
300 | 2 x 2 |
| WIND | W | ![]() |
100 | 2 x 1 (horiz) |
| SOLAR | S | ![]() |
25 | 1 x 1 |
GridStrike is an open game and you are able to program a bot to play with it
POST /api/games?size=10&capacity=1000
POST /api/games/:id/join?player=name
Example response:
{"token": "your-token"}
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"]
}
]
}
POST /api/games/:id/players/:name/ready
POST /api/games/:id/players/:name/strike?target=opponent&y=A&x=1&token=token
Brought to you with 🩷 by maulabs.cat