gophertron

command module
v0.0.0-...-3df53b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2016 License: MIT Imports: 5 Imported by: 0

README

GopherTron

A 2D Tron clone in Go. Allows up to 4 players at once.

Install:

go get github.com/gophergala2016/gophertron

A demo deployment is available at http://gophertron.gcommer.com/. Due to network constraints, a visible amount of lag is apparent, so the best way to use it would be to set up a local instance.

Usage:

  -http string
    	http service address (default "localhost:8080")
  -prof
    	enables profiling with gom
  • Controls: up, down, left, right (self explanatory)
  • Recommended field dimensions: 100 x 100.

Demo:

(The game isn't this abrupt and boring, and allows players from multiple machines to compete, this is just a demo)

alt text

BUGS:

  • Some tiny gaps between walls and players on collision aren't filled well.
  • No score-keeping.
  • All players have the same color.
  • Lack of code documentation, since there was a single developer who didn't care about documentation.
  • Lack of tests

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL