GithubHelp home page GithubHelp logo

jsmaze's Introduction

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=<port> --uid=<uid> --gid=<gid>

All parameters are optional:

  <port> is the port to listen on for browser and server requests.
         default: 6239 (MAZE)
         Alternative spelling: "-p <port>"
  <uid>  A user ID to switch to after doing the listen.
         Alternative spelling: "-u <uid>"
  <gid>  A group ID to switch to after doing the listen.
         Alternative spelling: "-g <gid>"

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.

jsmaze's People

Contributors

billstclair avatar

Stargazers

tuanzi avatar Fang Yang avatar Isaac Rogers avatar Jeremy Martin avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.