Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm start |
Build project and open web server running project |
After cloning the repo, run npm install
from your project directory. Then, you can start the local development server by running node server/index.js
.
- Make sure that other devices and the main device are in the same LAN
- Run
ifconfig | grep "inet " | grep -v 127.0.0.1
on the main device and get the first ip address in the last line - Connect to
https://<ip_address_found_in_step_1>:8081
from other devices. Note that Generic Sensors API only works under HTTPS connection - If step 3 doesn't work, enable port 8081 in firewall settings of the main device to be used as a screen
- Add a start screen
- Add support for multiplayer in one screen
- Add bosses at certain score level
- Increase number of enemies spawned sooner