Drawphone was built with Node.js, jQuery and Pug. It was one of my first coding projects, so the code is a bit of a mess...
Issues, feature requests, and pull requests welcome!
- Clone the repo to get started
- Fork and create any pull requests against the
- (If needed) Install
node-canvasdependencies: Drawphone uses
node-canvas; on some OSes/processors,
npmmay attempt to compile/install it from source. See the
node-canvasREADME for details.
npm install, then
npm startto launch the server
- Go to
localhost:3000in your browser
- To change the default port, set the
- If you set the
NODE_ENVenvironment variable to
development, you can use the link
localhost:3000/devto automatically join game
ffff. This is helpful for speeding up debugging.