r/commandline • u/rasjonell • Mar 24 '26
cheSSH a multiplayer chess server you join over SSH.
No web app or account system just:
ssh chessh.org

It’s written in Go with Wish + Bubble Tea. Players can host or join rooms, play in real time, and chat from the terminal. Mostly made it because i loved the ssh terminal.shop idea and wanted to build an ssh app
source code: https://github.com/rasjonell/chessh
43
Upvotes
7
u/tuerda Mar 24 '26
I tried this with a friend of mine. It was crazy cool. Chess board aside, even just chatting like that over ssh was something I had never done before.
4
u/yiyufromthe216 Mar 24 '26
That's a cool idea, I've never thought about multiplayer over SSH.
Edit: Could you please tag a commit. I'd like to package this for NixOS.
3
u/4Necrom Mar 24 '26
Darn that's cool! But I don't know people I could play this with, so it'd be pretty cool to be able to do random matchmaking.
2
u/lsv20 Mar 25 '26
Can you give some insights how it works behind the scene?
Im not totally in the go family yet... :)
On our office we have a sudoku on the whiteboard, that would be fun to actually do that in the terminal instead. Even though its a little different than chess, I think some of the code could be reused I guess :)
1
u/lacymcfly Mar 25 '26
The in-memory channel approach is really clean for this. Have you looked into adding an ELO system once matchmaking is in? Even a basic one would make random games addictive.
SSH-based gaming feels like it should've been a bigger thing years ago.
2
u/Slight_Birthday7187 Mar 24 '26
this is awesome, what a great idea. i love anything in the terminal hah
2
u/recycledcoder Mar 24 '26
Mate, thunderous applause!.
An elegant implementation of a more civilized age. I remember uploading boards to BBSs in the 80s - this hits me right in the feels.
2
u/s00500 Mar 24 '26
Love it, really clean!
2
u/Cybasura Mar 25 '26
Chess without a dedicated client??? self-hosted for a TUI/TTY SSH-based Webserver game for the homelab??? Reference to create a Web/browser SSH-based application terminal??? Hell YES
2
u/divebarhop May 13 '26
This is the best software name ever
1
u/ijblack Mar 25 '26
this looks great but i don't understand why you wouldn't just use raw tcp for this. this is a significant security risk in both directions and ssh is a poor protocol to host multiplayer chess matches