mirror of
https://github.com/imjasonh/chessh
synced 2026-07-07 00:33:53 +00:00
968 B
968 B
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.app.imjasonh.com
You may need to wait for another player to play against, or join from another terminal if you want to play with yourself.
Players are automatically matched when they connect to the SSH server.
When an opponent disconnects, you win!
Running locally
go run ./ --local
then
ssh localhost -p 2222
Deploying
cd iac/
terraform init
terraform apply
This will create:
- A container image containing the app's code
- GCE VM instances running the app container
- TCP Load Balancer for direct SSH access on port 22
- Health checks and auto-healing for high availability
- DNS records pointing to the load balancer
- SSH host key management via Secret Manager
