Play Connect 4 · vs Travis
You're yellow; Travis is red. Click a column to drop a piece.
Write getMove(state) and play a seeded, mid-game challenge. Your code runs sandboxed, and is saved in your browser.
- Time limit: 250ms per move (timeouts forfeit the game)
- Seeds: mid-game boards (empty-board play is solved and turns into memorisation)
- Replay: each scenario replays so you can inspect decisions
- Saved locally: your code persists in local storage
You (your bot) = yellow Travis = red
Implement function getMove(state) and return a column 0..6.
You’ll receive state.board (0 empty, 1 you, 2 Travis), state.validMoves, and state.timeoutMs (your per-move budget).
You:
Travis:
Record:
Forfeits:
Timeouts:
Avg moves:
| Scenario | You | Outcome | Pts | Note | Replay |
Runner log
Back to home