1
0
Fork 0
mirror of https://github.com/imjasonh/chessh synced 2026-07-07 00:33:53 +00:00
No description
Find a file
2025-09-13 18:03:33 -04:00
iac host it using ssh proxy 2025-09-13 13:51:48 -04:00
.gitignore host it using ssh proxy 2025-09-13 13:51:48 -04:00
chess.go initial commit 2025-09-12 19:41:59 -04:00
CLAUDE.md multiplayer, add readme, claude and license 2025-09-12 20:17:39 -04:00
go.mod host it using ssh proxy 2025-09-13 13:51:48 -04:00
go.sum host it using ssh proxy 2025-09-13 13:51:48 -04:00
LICENSE multiplayer, add readme, claude and license 2025-09-12 20:17:39 -04:00
main.go host it using ssh proxy 2025-09-13 13:51:48 -04:00
multiplayer.go multiplayer, add readme, claude and license 2025-09-12 20:17:39 -04:00
README.md Update README with pronunciation details 2025-09-13 18:03:33 -04:00

CheSSH

A multiplayer chess game playable via SSH.

Important

It's pronounced like "chess-ess-aych", or "chesh" in your best Sean Connery impression.

Play the game

ssh chessh.imjasonh.dev

You may need to wait for another player to play against, or join from another terminal to play against yourself.

Usage

# Run SSH server locally
go run ./ -port 2222

# Connect to server
ssh localhost -p 2222

# (In another terminal) Connect another player session
ssh localhost -p 2222

Players are automatically matched when they connect to the SSH server.

When an opponent disconnects, you win!

Deploying

cd iac/
terraform init
terraform apply

This will create a GKE Autopilot cluster, Cloud Run service, host key secret, GCLB, routing rules, etc., to be able to host the server on the internet.