Name: spacegophers
Owner: gophergala2016
Description: Experiment in using Go routines for managing game-state and calculations
Created: 2016-01-23 02:40:16.0
Updated: 2016-01-26 15:39:01.0
Pushed: 2016-01-25 01:10:18.0
Size: 11693
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Space Gophers is an experiment in using Go routines and WebSockets to calculate complex physics and character/enemy movement server side. The Frontend is implemented with a basic CreateJS canvas interface and does absolutely no calculations other than managing objects in the canvas. It is entirely a server-side state object, rendered to the canvas.
Share your url with friends to allow them to join in! WASD to move and SPACE to fire!
Navigate to the src
folder within your GOPATH
and then get the repo:
et github.com/gophergala2016/spacegophers
Go into the spacegophers folder:
ithub.com/gophergala2016/spacegophers
And then set it up:
uild
Once that's done, you can run it:
acegophers -addr 127.0.0.1:8080
SpaceGophers accepts the following options:
e of ./spacegophers:
ddr string
http service address (default ":8080")
enable verbose logging
Music sourced from http://www.newgrounds.com/audio/listen/106494.