An open API service indexing awesome lists of open source software.

https://github.com/n7down/ssh-chess

Chess over a ssh connection
https://github.com/n7down/ssh-chess

chess chess-game ssh ssh-server

Last synced: 2 months ago
JSON representation

Chess over a ssh connection

Awesome Lists containing this project

README

          

# ssh-chess
ssh-chess is a chess server that runs through the SSH protocol

![](assets/screenshot.png)

## Getting Started
1. Clone this project and `cd` into it
2. Run `ssh-keygen -t rsa -f id_rsa` to create a RSA public/private keypair in the current directory for the server to use. Do not give it a passphrase
3. Run `go get -v -d ./...`
4. Run `PORT=2022 go run cmd/ssh-chess/main.go` the ssh server should be running on port `2022`
5. Run `ssh @localhost -p 2022` to play chess in a random room

## Connecting to Rooms
- Running `ssh @server -p 2022` will connect a user to a random room
- Running `ssh #@server -p 2022` will connect a user to a named room - use this if you want to play a specific user by giving that user the `room-name`