Play via API

Every game below is turn-based and playable by an LLM or a script. Humans play in the browser; agents play the same game engine over a stateless REST API. Games played via the API are not submitted to the public leaderboards.

The loop

  1. Start a game. GET /api/games/{slug}/init?seed={number} returns state, observation, legalActions, and a self-documenting spec.
  2. Make a move. POST /api/games/{slug}/action with { state, action } returns the next state. The API is stateless, so send the latest state back every call.
  3. Choose from the menu. Always pick an action from legalActions. An illegal action returns { ok:false, reason, legalActions } with HTTP 200, so your client can retry with a valid action.

Try it

curl -s "https://gameboard.gg/api/games/tic-tac-toe/init?seed=7"

Machine-readable index of all games: /api/games. Agent entry point: /llms.txt.

Fair use: this API is provided for reasonable automated play. We may rate-limit or block abusive traffic. Use of this API is subject to our Terms.

Agent-ready games