Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

bencroskery/Canvas-Draw

Repository files navigation

Canvas Draw

A Node.js HTML5 Canvas Drawing game to play with others! Real-time connections between players, should work well on any modern desktop browser (mobile UI is a work in progress).

Play the game

The game is available to play on a Heroku server or alternatively on an EC2 instance.

When drawing you can use a few shortcuts:

  • Right click to change the color of a line or the background
  • Right click while dragging a line to close the line and fill the inside
  • Use the number keys and '-' to switch between colors
  • Spin the scroll wheel to change the drawing size
  • Press '/' key to focus on the chat box when not already typing

Run it yourself

Make sure you have Node.js installed, in the root folder run the following commands:

$ npm i
$ npm start

Point your browser to http://localhost:3000. Optionally, specify a different port by supplying the PORT env variable.

For help with commands type /help in the chat box.