Skip to content

imjasonh/chessh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Screenshot of CheSSH gameplay

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

About

SSH server to play Chess against other bored strangers

ssh://chessh.app.imjasonh.com

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •