A web server for the Free drawing android app allowing to draw in multiplayer ππ§ππ§ππ§
- Create / join a multiplayer room with up to 6 people
- Transmit your drawing updates to all the other people in the room β‘
- Receive drawing updates from all the other people in the room β¬
- Inactive players or empty rooms are automatically kicked / closed after 60 seconds
- See all rooms with an http GET query
This app was made with:
- Node.js
- Typescript
- Express
- Websockets to deliver drawing updates to players (thanks to the ws package)
- nodemon to watch for changes in the dist folder and reload the app
npm install
You will need two terminals (in VSCode you can also build a task regrouping these two tasks)
npx tsc -watch
npx nodemon dist/App.js
node dist/App.js