4IT573_project is a simple app, which uses web sockets and let player use its android mobile device gyroscope like a controller. The gameplay is seen on other device (like desktop or other mobile device)
Use the npm package manager.
npm install You need two devices: one with RelativeOrientationSensor support (Android + Chrome), second to view the platform (Desktop with powerful GPU for rendering)
To host app on 5000 port, use:
npm run startTo tunnel localhost outside, tool like ngrok can be used
ngok http 5000Open the app on your mobile device first by navigating on connect page - .../connect. App will ask you to prompt player name and generate an ID for your room.
Next open the platform page on your desktop device and place your room id as query string (https://e2f3-89-176-163-95.eu.ngrok.io/platform?roomId=2765)