This repository contains the code for a dino game, where you use your phone as the controller and a monitor to play.
The screen url is <WEBSITE_ROOT>/screen
.
The controller url is <WEBSITE_ROOT>
.
- Fill in Pongnub credentials in
src/connection.js
. - Make sure the
WEBSITE_ROOT
constant is set to the correct value insrc/connection.js
. - Statically host the
src
folder.
- Make sure NodeJS is installed
- Make sure the
WEBSITE_ROOT
constant is set tohttp://localhost:3000
insrc/connection.js
. - Open a terminal and navigate to the folder containing this repository.
- Execute
npx serve .
(it will locally host the current folder)
Some information is fetched from AirTable. To edit this information, go to the following link:
https://airtable.com/appHzqhkCtvCp6RR7/tblu073RHDj4Tldbv/viw67TD4mGUvqRIcz
- Dino Game: https://github.com/wayou/t-rex-runner
- Space Invaders: https://github.com/jay-ithiel/space_invaders
- Analog Clock: https://github.com/danielpradilla/d3clock