All Projects → zachlatta → Sshtron

zachlatta / Sshtron

Licence: mit
$ ssh sshtron.zachlatta.com

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects
CSS
56736 projects
Dockerfile
14818 projects
shell
77523 projects

Labels

Projects that are alternatives of or similar to Sshtron

Cr Api
Clash Royale Public API that provides real-time data about players, clans, tournaments and more.
Stars: ✭ 147 (-92.3%)
Mutual labels:  game
Factorioclusterio
internet communication for factorio mods
Stars: ✭ 147 (-92.3%)
Mutual labels:  game
Corkscrew
Corkscrew is a tool for tunneling SSH through HTTP proxies.
Stars: ✭ 149 (-92.2%)
Mutual labels:  ssh
Kaboom
Cruel but fair Minesweeper clone
Stars: ✭ 148 (-92.25%)
Mutual labels:  game
Metasprite
A fast, self-contained, highly customizable Aseprite-to-Unity importer.
Stars: ✭ 148 (-92.25%)
Mutual labels:  game
Esp8266 game engine
Used ili9341 or ST7735. Contains a virtual machine running games from RAM.
Stars: ✭ 149 (-92.2%)
Mutual labels:  game
Knightonline
OpenKO is an open source version of the old school Knight Online MMORPG
Stars: ✭ 146 (-92.36%)
Mutual labels:  game
Travianz Legacy
Join our Discord Server: https://discordapp.com/invite/9fbJKP9 | New repo: https://github.com/iopietro/Travianz
Stars: ✭ 150 (-92.15%)
Mutual labels:  game
Carmelo
Carmelo is a fast, scalable Java server framework designed for online games. It uses Netty and Fastjson for highly efficient network transmission and supports both TCP/HTTP protocols.
Stars: ✭ 148 (-92.25%)
Mutual labels:  game
Allure
Allure of the Stars is a near-future Sci-Fi roguelike and tactical squad combat game written in Haskell; please offer feedback, e.g., after trying out the web frontend version at
Stars: ✭ 149 (-92.2%)
Mutual labels:  game
15puzzle
The Game of Fifteen written with Flutter
Stars: ✭ 148 (-92.25%)
Mutual labels:  game
Cedarkey
$2 hardware SSH keys storage
Stars: ✭ 148 (-92.25%)
Mutual labels:  ssh
Cube Composer
A puzzle game inspired by functional programming
Stars: ✭ 1,845 (-3.4%)
Mutual labels:  game
Rpg Core
UNITY engine RPG framework
Stars: ✭ 146 (-92.36%)
Mutual labels:  game
Maplestory Gm Client
Offline MapleStory Client Emulator
Stars: ✭ 150 (-92.15%)
Mutual labels:  game
Lexica
Word Game for Android - A fork of lexic (https://code.google.com/p/lexic)
Stars: ✭ 146 (-92.36%)
Mutual labels:  game
Swiftsh
A Swift SSH framework that wraps libssh2.
Stars: ✭ 148 (-92.25%)
Mutual labels:  ssh
Chopsticks
Chopsticks is an orchestration library: it lets you execute Python code on remote hosts over SSH.
Stars: ✭ 151 (-92.09%)
Mutual labels:  ssh
Flightplan
Run sequences of shell commands against local and remote hosts.
Stars: ✭ 1,804 (-5.55%)
Mutual labels:  ssh
Flappy Fly Bird
🐦 Flappy Bird reincarnation [Swift 5.3, GameplayKit, SpriteKit, iOS 12].
Stars: ✭ 150 (-92.15%)
Mutual labels:  game

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.

Want to choose color yourself?

There are total 7 colors to choose from: Red, Green, Yellow, Blue, Magenta, Cyan and White

If the color you picked is already taken in all open games, you'll randomly be assigned a color.

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

Running under a Docker container

Clone the project and cd into its directory.

# Build the SSHTron Docker image
$ docker build -t sshtron .

# Spin up the container with always-restart policy
$ docker run -t -d -p 2022:2022 --restart always --name sshtron sshtron

For Raspberry Pi, use the following to build the Docker image:

$ docker build -t sshtron --build-arg BASE_IMAGE=resin/raspberry-pi-golang:latest .

CVE-2016-0777

CVE-2016-0777 revealed two SSH client vulnerabilities that can be exploited by a malicious SSH server. While SSHTron does not exploit these vulnerabilities, you should still patch your client before you play. SSHTron is open source, but the server could always be running a modified version of SSHTron that does exploit the vulnerabilities described in CVE-2016-0777.

If you haven't yet patched your SSH client, you can follow these instructions to do so now.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].