aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: 9d0b5d8cd33771121ba2c7ff568afbcc9b2afbf6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ![SSHTron](./logo.svg)

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](static/img/gameplay.gif)

**Code quality disclaimer:** _SSHTron was built in ~20 hours at
[BrickHack 2](https://brickhack.io/). Here be dragons._

## Running Your Own Copy

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

```sh
# 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`](LICENSE).
Un proyecto texto-plano.xyz