https://github.com/billstclair/jsmaze
A simple maze game written in JavaScript
https://github.com/billstclair/jsmaze
Last synced: about 1 year ago
JSON representation
A simple maze game written in JavaScript
- Host: GitHub
- URL: https://github.com/billstclair/jsmaze
- Owner: billstclair
- Created: 2012-04-03T04:40:00.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2013-11-07T20:17:17.000Z (over 12 years ago)
- Last Synced: 2025-04-06T23:48:28.102Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 8.74 MB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
A simple maze game written in JavaScript.
Uses node.js, socket.io, express, and mongoose/MongoDB for the server side.
There's a live server under active development (hence likely to be
flaky) at:
http://jsmaze.com/
The Git archive does NOT include required modules. To get them:
cd /path/to/jsmaze # or a parent directory. I use $HOME
npm install socket.io express mongoose optimist
To run the server:
cd /path/to/jsmaze/server
node index.js --port= --uid= --gid=
All parameters are optional:
is the port to listen on for browser and server requests.
default: 6239 (MAZE)
Alternative spelling: "-p "
A user ID to switch to after doing the listen.
Alternative spelling: "-u "
A group ID to switch to after doing the listen.
Alternative spelling: "-g "
For example:
cd ~/jsmaze/server
sudo node index.js -p 80 -u ubuntu -g ubuntu
jsMaze serves its own client pages, but you could use another web
server on port 80, and connect to the jsMaze server on another port.