Skip to content

danluu/hyperspace

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyperspace

A real-time multiplayer space shooter.

Development

  • Run make to run a local copy at http://localhost:9393.

  • Run ./watch to run a local copy that auto-restarts when server files are changed (requires fswatch - brew install fswatch)

Installation

Add to Nginx configuration

Add to bottom of http block:

include /home/hyperspace/hyperspace/etc/nginx.conf;

Add systemd service:

sudo ln -s /home/hyperspace/hyperspace/etc/hyperspace.service /etc/systemd/system/
sudo systemctl start hyperspace

Add ability to restart server:

sudo EDITOR=emacs visudo
hyperspace ALL=(ALL) NOPASSWD: /home/hyperspace/hyperspace/bin/start
hyperspace ALL=(ALL) NOPASSWD: /home/hyperspace/hyperspace/bin/stop
hyperspace ALL=(ALL) NOPASSWD: /home/hyperspace/hyperspace/bin/restart

Add dependencies

go get github.com/gorilla/websocket

About

A real-time multiplayer space shooter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 57.5%
  • Go 37.8%
  • HTML 2.1%
  • Nginx 1.0%
  • CSS 0.8%
  • Makefile 0.4%
  • Shell 0.4%