Last Ride
A Halloween kart race in 3D. You are a ghost in a coffin kart, racing seven rivals over three laps of a haunted road. Hold the phone sideways like a steering wheel and shake it to boost.
Setting the table.
No phone? Borrow a ghost one. Everything here also runs from the keyboard.
The Workshop is a page in the kit. Lay out the phone, watch what your page receives, then take the code.
Pick the motions and buttons.
Start from a racing wheel, a slide remote or a blank phone.
Try it with your phone, or a ghost one.
Each tilt and tap shows up as your page would get it.
Copy the code into your page.
One connect() call and a few handlers.
connect() shows the code to scan, pairs the phone and hands you its motion as plain numbers.
You write no phone code, no sensor code and no networking.
Tilt the phone and the whole page leans with it. Those ten lines also get you:
The kit is the skeleton: pairing, motion and gestures in one small folder. These two examples are built on it, each in its own folder: a game and a work tool. They share the kit and nothing else.
A Halloween kart race in 3D. You are a ghost in a coffin kart, racing seven rivals over three laps of a haunted road. Hold the phone sideways like a steering wheel and shake it to boost.
A presentation remote. Drop in a PDF and the phone becomes a laser pointer, a slide clicker and a speaker notes screen. The file never leaves the computer.
One is for the graveyard shift. The other is for the Monday meeting.
Every app works with no phone. The pairing screen lends you a ghost phone, driven by the keyboard and the mouse.
Start with Last Ride. You need a laptop and a phone, and nothing to install on either.
Open Last Ride on a laptop.
Summon your phone there. A code comes up on the screen.
Scan the code with your phone camera.
The phone opens a page. No app, no account.
Tilt the phone to steer.
Hold it sideways, like a wheel. Shake it to boost.
A three-lap kart race in 3D, against seven rivals.
A slide remote with a laser pointer. A sample deck is ready to try.
No phone to hand?
Each app lends you a ghost phone on the screen, and both also run from the keyboard.
Every feature starts as a spec in the repo's .kiro folder. The steering docs pin the kit's API
and the sensor maths. Hooks guard the contract and keep secrets out.
The .kiro folder in the repo holds
19 specs,
6 steering docs
and 4 hooks.