the trex runner game extracted from chrome offline err page.
see the source from chromium
The game connects to an event stream API that sends individual event objects (not arrays). Each event has the following format:
{
"mac": "d324sdDEI",
"event": "button|startup|disconnected",
"name": "tiny-rex",
"value": 34
}startup: When a device starts up, a new dino is added to the gamedisconnected: When a device disconnects, the corresponding dino is removed from the gamebutton: When a button is pressed, the corresponding dino jumps
Device startup:
{
"mac": "d324sdDEI",
"event": "startup",
"name": "tiny-rex",
"value": 0
}Button press:
{
"mac": "d324sdDEI",
"event": "button",
"name": "tiny-rex",
"value": 34
}Device disconnects:
{
"mac": "d324sdDEI",
"event": "disconnected",
"name": "tiny-rex",
"value": 0
}This project uses live-server to automatically reload the browser whenever you make changes to your files.
You’ll need Node.js installed on your system.
