# Model Comparison · Gomoku A controlled experiment comparing **Claude Haiku 4.5 / Sonnet 5 / Opus 5** on a real-time interactive task. **→ [Read the report](https://jns-c.github.io/model-comparison-gomoku/)** ## What this is Only the model was swapped; every other condition was held fixed — same site, same opponent engine, same difficulty, same 14×14 board, same turn order (model plays black, moves first), same prompt. Each model played one game of Gomoku against the CPU, reading the screen and clicking through browser automation, so perception, tool use and error recovery were measured alongside reasoning. ## Results | | Haiku 4.5 | Sonnet 5 | Opus 5 | |---|---|---|---| | Outcome | Loss | Loss | **Win** | | Total plies | 10 | 10 | 31 | | Coordinate reading | row/col axis inverted | correct | correct + log cross-check | | Forced defense | 0 / 2 | 0 / 1 | **5 / 5** | | Dual-purpose moves | 0 | 0 | **2** | Rather than report the win rate alone, all three games were reconstructed from the in-game move logs and the exact ply where each run diverged was located. The failures separated cleanly into two different layers: - **Haiku 4.5 — perception.** Inverted the row/column axis when reading the board, so its defensive reasoning was correct but its stones landed on the wrong intersections. - **Sonnet 5 — evaluation.** Read the board correctly but under-rated an open three, answering one ply after the position was already mathematically lost. - **Opus 5 — win.** Rebuilt the board as a symbolic (row, col) list every turn, trusted the in-game log over the screenshot, and recovered from an unstable screenshot coordinate frame. Closed with a double-four fork at ply 29. Same symptom, opposite remedy: the first needs the coordinate frame pinned explicitly, the second needs threat-grading criteria written into the prompt. The decisive variable was **state representation, not reasoning depth**. ## Verification - Data-integrity script: no duplicate moves, black/white alternation intact, win-line ownership consistent, win line straight and contiguous — all three games pass. - Rendering verified with headless Chromium (stone counts 10 / 10 / 31, no console errors). ## Limitations n=1 per model; single opponent engine; no repeated trials. Results are directional, not statistically significant. A follow-up would use 5+ trials per model with separated sessions and alternating turn order. ## Note on language The report's detailed move-by-move analysis is in Korean; the summary at the top, the comparison table and the board diagrams are in English or language-neutral. --- August 2026 · independent project — experiment design, execution, analysis and reporting.