Skip to content

techscientist/sshtron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSHTron

SSHTron is a multiplayer lightcycle game that runs through SSH. Just run the command below and you'll be playing in seconds:

$ ssh sshtron.zachlatta.com

Controls: WASD or vim keybindings to move (do not use your arrow keys). Escape or Ctrl+C to exit.

Demo

Code quality disclaimer: SSHTron was built in ~20 hours at BrickHack 2. Here be dragons.

Alternate Servers

Europe (Frankfurt)

$ ssh eu.sshtron.zachlatta.com

Kindly provided by @klausenbusk.

Providing a Server

Want to provide a server for SSHTron? Open up an issue saying so and we'll make it happen :-).

Running Your Own Copy

Clone the project and cd into its directory. These instructions assume that you have your GOPATH setup correctly.

# Create an RSA public/private keypair in the current directory for the server
# to use. Don't give it a passphrase.
$ ssh-keygen -t rsa -f id_rsa

# Download dependencies and compile the project
$ go get && go build

# Run it! You can set PORT to customize the HTTP port it serves on and SSH_PORT
# to customize the SSH port it serves on.
$ ./sshtron

License

SSHTron is licensed under the MIT License. See the full license text in LICENSE.

Releases

No releases published

Packages

No packages published

Languages

  • Go 53.9%
  • CSS 33.7%
  • HTML 12.4%