Dev open-sources Claude Code chess: it annotates, trash-talks, then resigns on time
tokentrillionaire · reddit · 2026-08-24
A developer built an open-source app, claude-chess, that lets Claude Code play a real 10-minute rapid game against a human in the browser while commenting in the terminal chat — analysis, jokes and trash talk included.
- It played book openings (Ruy Lopez, Morphy Defense), spotted genuine threats, and gave unprompted position evals, ranging from overly analytical to hilarious ("Your queenside pawns thought they were building a wall; I'm treating it as a buffet").
- Fatal flaw: narrating every move ate its own clock. It noticed too late, dropped to 5 minutes, and switched to "blitz mode."
- After blundering in time trouble, it diagnosed its own loss within ten seconds and resigned with 16 seconds left, accurately identifying the turning point — its queen, knight and bishop stacked on one file — and the opponent's winning Ne7+.
The project is open source on GitHub and works with any model provider. The game used Fable 5 at max effort.
More from coding & agent
- Vercel Goes Full Backend: Python GA, Containers, and Daemons — cramforce · 2026-10-16
- Datadog Debuts Scout 1.0, a Domain Model for Incident Investigation — tianyin_xu · 2026-10-16
- WorldMemArena Accepted at NeurIPS: Memory Storage ≠ Memory Use — xwang_lk · 2026-10-16
- Vercel Ship Demos Container Deploys for Go, Ruby, Java and More — edwin · 2026-10-16
- TRL adds day-0 support for fine-tuning Muse Spark Open's 816B MoE with LoRA on 64 H100s — QGallouedec · 2026-10-16
- Databricks engineers land impactful PRs on day 2 with AI dev tools, vs week 3 before — Yuchenj_UW · 2026-10-16