Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tannerkrewson/drawphone
Draw what you see, and guess what your friends drew
https://github.com/tannerkrewson/drawphone
board-game multiplayer rocketcrab socket-io
Last synced: about 14 hours ago
JSON representation
Draw what you see, and guess what your friends drew
- Host: GitHub
- URL: https://github.com/tannerkrewson/drawphone
- Owner: tannerkrewson
- License: mit
- Created: 2016-07-15T03:09:36.000Z (over 8 years ago)
- Default Branch: dev
- Last Pushed: 2023-05-16T21:48:44.000Z (over 1 year ago)
- Last Synced: 2024-05-19T02:11:54.581Z (8 months ago)
- Topics: board-game, multiplayer, rocketcrab, socket-io
- Language: JavaScript
- Homepage: https://drawphone.tannerkrewson.com/
- Size: 3.89 MB
- Stars: 261
- Watchers: 4
- Forks: 86
- Open Issues: 68
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![Drawphone](https://i.imgur.com/UDwA90p.png)
### Play now at: [drawphone.tannerkrewson.com](https://drawphone.tannerkrewson.com/)
Drawphone was built with Node.js, jQuery and [Pug](https://github.com/pugjs/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!
## Development
#### Instructions
1. Clone the repo to get started
2. Fork and create any pull requests against the `dev` branch
3. (If needed) Install `node-canvas` dependencies: Drawphone uses [`node-canvas`](https://github.com/Automattic/node-canvas); on some OSes/processors, `npm` may attempt to compile/install it from source. See the `node-canvas` README for details.
4. Run `npm install`, then `npm start` to launch the server
5. Go to `localhost:3000` in your browser#### Tips
- To change the default port, set the `PORT` environment variable
- If you set the `NODE_ENV` environment variable to `development`, you can use the link `localhost:3000/dev` to automatically join game `ffff`. This is helpful for speeding up debugging.