Map editor — 400×400 grid (1:1 with game)

1:1 scale: each square = one 40-unit square in the game. Black = wall. Rarity colors = spawn zones. Brown = player spawn.

0 wall cells
1

Import a custom-map.json file to edit it on the canvas.

Default map = what new users see when cache is cleared. Token needed for Save as default.

Use this map in the game

Store maps on GitHub

Maps can be stored in your GitHub repo so they sync across devices. Add a Personal Access Token with repo scope to enable saving to GitHub.

Reload the game after saving. Only black walls appear in-game; zones control spawn and rarity %.

Keep map across updates: Click "Export for repo" to download custom-map.json. Add it to your repo as data/custom-map.json, then push. The game will load this map whenever the browser has no saved map (e.g. new device or after clearing data).