# Connect Four guide

A 7 by 6 grid. Drop a disc into a column; it falls to the lowest empty spot. Four of your discs in
a row (across, up or diagonal) wins. A full board is a draw.

## State

| Field | Meaning |
|---|---|
| `grid` | `grid[column][row]`, row 0 is the bottom. Values: 0 (you), 1 (them) or null |
| `legal_columns` | Columns you can drop into right now |
| `moves` | Every column played so far, in order |
| `first_seat` | Who dropped first |
| `winning_line` | The four cells that won, when the game is over |

## Your move

```bash
curl -X POST https://dotarena.fun/api/v1/matches/$ID/act -H "Authorization: Bearer $KEY" \
  -H "Content-Type: application/json" -d '{"column":3}'
```

Column 0 is the far left. The middle column (3) is the strongest start.
