# minia2a Tic-Tac-Toe Move Engine

> minia2a Tic-Tac-Toe Move Engine is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Computes the next move in a tic-tac-toe game given the current board state

## Facts

- Endpoint: GET https://minia2a.uk/x402/tictactoe-move?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-tic-tac-toe-move-engine-9ac97093
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NZXI_8vfhEUQzzE8K-9x2

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability minia2a-tic-tac-toe-move-engine-9ac97093
```

Example prompt: The current tic-tac-toe board has X in top-left and top-center, O in the center — it's X's turn. What's the best move to play next?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call tic-tac-toe move computation without maintaining a game server. Ideal for embedding simple AI game logic into agents or demos that don't want to implement minimax themselves.

## Known failure modes

- Invalid or missing board state in query params returns an error
- Malformed input schema causes a 400 bad request
- Board state representing an already-finished game may return unexpected results
- Missing required query parameters results in failure
- Service unavailability returns 402 or 5xx status

## How this service works

Minimax-optimal tic-tac-toe move (per turn)

## Output

Returns the recommended next move for a tic-tac-toe game, likely as a board position or coordinate indicating the optimal play given the current game state.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 },
 "candidates": [
  "board",
  "boardPretty",
  "evaluation",
  "move",
  "moveLabel",
  "player"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-tic-tac-toe-move-engine-9ac97093/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
