frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: A chess game you play with Claude as your wing-bot in the CLI

https://github.com/goawaygeek/ground-control
2•goawaygeek•11h ago
Hey HN!

Wanted to show off a thing I built in case it interests anyone.

I wanted to build a game you play inside the claude code CLI and back when they launched the channels feature I started investigating ways to use that to do so. I started with a multiplayer comedy battle game where you would collaborate with Claude to write jokes based on a theme in a timeframe and then post them to an audience and compete against other folks (with the audience voting for the funniest joke), it was OK but I didn't have anyone to really test it with so I moved on. My son has been learning chess so instead I tweaked it to let you play chess with Claude suggesting three possible move options for you to choose from and submit as your move (you choose what you actually want to do not Claude). It was much more fun and allowed me to actually learn a thing or two about chess (my chess isn't great, it didn't need to do much to help me learn but I could go back and forth with it on why a certain move was better, etc.).

Over time I beefed it up a bit just so I could get a feel for what it is like actually building something 'agentically' (vibing is probably more apt in this case, I never really let an agent run wild with things). So now you can run the server locally and spin up Claude Code to play a game of chess against a bot or you can join (or host) a remote server and play your friends. I threw an MCP server on GCP and some very rudimentary storage on Notion to allow you to maintain a username (should you choose to). When you join you can play a bot or see if anyone is in the lobby and challenge them to a game.

Github with all the code and instructions is over at: https://github.com/goawaygeek/ground-control

Once you have things installed you'll have to `--dangerously-load-development-channels` which, well, if you're running it locally all good you know what's coming in and out of that channel, to mitigate the potential for prompt injection from the hosted version I've put in qualifiers around any of the free text that gets passed through (messages, jokes, usernames, etc.). Any tips on how to sure that up are more than welcome! Playing with the bot is fun on its own so if you're nervous just do that instead of challenging a random online stranger (although fair warning, models matter, playing Haiku was terrible, Opus and above were pretty decent!).

I put up a simple front end if you want to check whether anyone is online (on my hosted server) here: https://groundcontrol.deepdeep.space

and I put up a video of two people playing (well, me playing myself) on youtube: https://youtu.be/YMgbf-qUVqc

The logical next steps for me would be to: a) improve the chess engine so the bot can be tweaked, or the moves it suggests could be graded (to show the difference between a 'novice move' and a 'grand master' move. b) move everything so it runs local models instead of CC, the day or two I spent getting channels running for the comedy battle test just kind of kept me down that path, long term I'm much more interested in local models I just didn't want to create something that used API credits hence the ability to play on any of the Anthropic plans via Channels. c) create a whole new game that allows people to leverage their own local models and tweak/fine tune them. It probably shows my age but the idea of having an R2 unit in the back of your fighter while you go into battle is, um, nostalgic I guess.

Please leave comments or reach out if anything is of interest to you!

Comments

morganrivers•2h ago
so did you win or did claude win the first game? my AI chess experiences so far reveal AI's start making illegal and quite bad moves near the mid-end game rendering them disappointing chess partners. did that happen with this harnes as well?
goawaygeek•36m ago
Good question. It was originally designed so you could play against other humans each with their own claude instance helping them evaluate possible moves so...I won, but my son is five so take that win for what it is worth :)

The chess engine sits on the server keeps all moves legal but Claude will definitely hallucinate some terrible options for you, especially if you're using Haiku. If I had to guess I would say Opus seems to play around at 1200-level game.

It is setup so you could give Claude access to a much better engine to choose moves from though, I just...haven't added that yet :(

Show HN: Immersive Gaussian Splat tour of grace cathedral, San Francisco

https://vincentwoo.com/3d/grace_cathedral/
172•akanet•14h ago•42 comments

Show HN: Ex Situ – Open-source spatial index of displaced cultural artifacts

https://exsitu.app/map
37•hbyel•5h ago•22 comments

Show HN: QuiverKit – 62 developer tools that run offline

https://quiverkit.dev
3•ensardev•2h ago•2 comments

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

2863•section33•1d ago•340 comments

Show HN: Vertically Works – UI components built on writing-mode: vertical-RL

https://vertically.works
5•jihoons•6h ago•0 comments

Show HN: Claude is getting an attitude

3•_nhh•3h ago•2 comments

Show HN: OTP Inspired actor supervisor based full stack templates

https://shipstacks.tech
11•annrap1d•20h ago•2 comments

Show HN: The0 – self-hosted runtime for trading bots, bring your own language

https://github.com/alexanderwanyoike/the0
14•mercutio93•20h ago•3 comments

Show HN: Take a photo of a menu, get a website

https://www.eatfoodnow.com/
4•t-van•4h ago•0 comments

Show HN: Wheesper – Start an anonymous discussion with a link

https://wheesper.com/
34•whatdoyouthink2•19h ago•23 comments

Show HN: DroneWorld – Earth with multiplayer drones and Ethereum real estate

https://droneworld.app/
3•mannders•6h ago•0 comments

Show HN: A Job Board for European Defence Companies

https://www.defencejobseu.com/
4•Collusus96•11h ago•0 comments

Show HN: Repolink – Turn any GitHub repo into a tool for any of your projects

https://github.com/imjszhang/js-repolink
2•imjszhang•6h ago•0 comments

Show HN: A Pipeline for Making 10-minute AI Movies with Claude Code and Seedance

https://github.com/dawndrain/movie-gen
18•dawndrain•20h ago•4 comments

Show HN: Fluidic Network Grid – A branchless control plane in Jax

https://github.com/PJHkorea/Fluidic_Network_Grid
2•PJHkorea•6h ago•1 comments

Show HN: Imud – Gpsd, but for IMUs

https://github.com/richcreations/imud
2•richcreations•6h ago•0 comments

Show HN: Ekko – post-quantum E2EE layer for Instagram, WhatsApp, Telegram Web

https://useekko.app/
9•kvasilev•10h ago•3 comments

Show HN: CheapStack – affordable dev starter kits and boilerplates

https://cheapstack.dev
4•makbar890•12h ago•1 comments

Show HN: cbxy – A format for creating guided comic book experiences

https://github.com/ngafar/cbxy
9•nawazgafar•15h ago•3 comments

Show HN: Envy - A flat-file, frictionless note-taking application for macOS

https://envynote.app
4•widowlark•7h ago•0 comments

Show HN: Shackle – Deterministic runtime governance for AI agents

https://github.com/Fame510/SHACKLE
3•shacklepro•7h ago•0 comments

Show HN: pgwd – PostgreSQL connection alerts with cron exit codes

https://github.com/hrodrig/pgwd
3•hejeroaz•7h ago•0 comments

Show HN: Hospital Price Watch: Transparent, Shoppable Hospital Prices

https://hospitalpricewatch.com/
3•brad12345•8h ago•1 comments

Show HN: AI meeting notes – no bot, insights and answers from your files (BYOK)

https://getaiassist.app/
2•rfigueror1•8h ago•0 comments

Show HN: UEFI Bootloader for TempleOS

https://codeberg.org/0x2f22d23e/UwUEFI
8•AlecMurphy•6h ago•0 comments

Show HN: GPU Accelerated Desktop Screen Flash Filter (Photosensitive Epilepsy)

https://flashfilter.app/
7•flashfilter•16h ago•3 comments

Show HN: How to Get a Fable CoT for the Jacobian Conjecture Refutation

5•SonOfLilit•9h ago•1 comments

Show HN: Linguin, a live multilingual dictionary for 120 languages

https://linguin.xyz/
5•astroscout•13h ago•0 comments

Show HN: AI Secretary – Stop checking your phone "just in case"

https://github.com/mathigatti/telegram-ai-secretary
2•mathigatti•9h ago•0 comments

Show HN: Agent Search Engine – an independent index of 247 AI agents

https://agentsearchengine.app
3•ASE-APP•9h ago•0 comments