Skip to content

vibhavp/gophertron

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GopherTron

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

Install:

go get github.com/vibhavp/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

About

A 2D Tron clone in Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 72.5%
  • HTML 13.9%
  • JavaScript 13.6%