GRIDTACDocsFirmware
Beta. The API, GT-Link and hardware support are new: they work, and may still change before they are announced. Breaking changes are noted on these pages first.

GridTac docs

How to build on GridTac: the API for scripts, dashboards and bots, the device protocol for props and beacons, and guides to the Commander and Game Master screens.

Every page here is also plain Markdown: add .md to its address (/docs/api/authentication.md). For tools and AI agents: /llms.txt lists every page, /llms-full.txt holds them all in one file, and the API is described by its OpenAPI spec.

API

  • Authentication and API keys: The GridTac API (https://api.gridtac.com/api/v1) is for scripts, dashboards, bots and devices that work with a game. Every call carries an API key:
  • Team view: One team's picture of the game, exactly as that team's commander sees it in the app: your own players on the map, your markers and drawings, the orders to your team, the zones your side can see,...
  • Dashboard: The spectator view of one game: the score, who holds which zone, the phase and the clock, and the big moments. Made for a screen at the base, a scoreboard on a stream, or a Discord bot. It shows...
  • Player view: What you see in the GridTac app, for your own device or script: your own unit and status, your team on the map, the markers, drawings and orders you can see, the zones your side can see, the score...
  • Webhooks: Get the game's moments pushed to your own server as they happen: a Discord bot that posts "Blue took ALPHA", a siren at the base when a side runs out of tickets, a club page that keeps a live log....
  • Devices: A beacon (a player's position from a GPS box on the vest) or a prop (a capture box, a mine, a target) gets its own key when it is paired. A person's password, session or API key never goes into...
  • API reference: Every call, generated from the server code. Base URL: https://api.gridtac.com. The same thing as an OpenAPI 3 document, for generating a client: openapi.json. Keys and how to make them:...
  • Errors: Every error from /api/v1 is an RFC 9457 problem document with the content type application/problem+json:

GT-Link

  • Overview: GT-Link (gtl/1) is how a physical prop talks to GridTac: a domination box, a mine, a popper target, a countdown clock, a GPS beacon, or something we never thought of. It is open: anyone may build...
  • Message reference: Protocol gtl/1, frozen: fields may be added, never changed or removed.
  • Radio frame and gateways: A field without mobile coverage still works: props and beacons talk LoRa to a gateway on the field, and the gateway forwards to GridTac over Wi-Fi or 4G. Anyone may build a gateway, ours or yours,...

Guides

  • Your first scoreboard: Ten minutes from nothing to a screen at the field entrance that shows the score, who holds which zone and the time left, and a Discord message when a zone falls. You need to be the game master of...
  • Build a prop: From an ESP32 on the bench to a zone captured in a real game. Everything below is plain HTTPS and MQTT; any board and language that can do TLS will work. Our own reference firmware does exactly...
  • Game Master guide: Everything the organiser of a game does on gridtac.com: set the game up, put it on the map, invite the players, start it, run it, and look back at it afterwards. Use a laptop or a tablet; the game...
  • Commander guide: The Commander screen on gridtac.com is a live map of your side. It is for whoever leads: commanders, platoon and squad leaders, and map operators. From it you see your people, give orders, mark...