Inspiration
You've triple-checked your bags and launched for the Andromeda sector. Then the cabin gets stuffy, the reactor starts overheating, and the diagnostic gives you **04:30* to live. You grab the emergency manual... and it's a takeaway pizza menu. The real one is on your friend's desk back on Earth.*
We wanted a co-op game where the distance between two real phones is the main mechanic. Special relativity gave us the twist: the faster the ship flies, the slower its clock runs. More time on the clock, though, means a weaker signal back to Earth.
What it does
Delta t is a two-phone puzzle game. The Astronaut walks the ship and works five console locks (wiring, morse, reactor seals, shields, star chart). Mission Control holds the only manual. The physical distance d between the phones sets the ship's speed:
$$\beta = 0.943\sqrt{\ell(d)}, \qquad \gamma = \frac{1}{\sqrt{1-\beta^2}}$$
where ℓ(d) runs from 0 to 1 as the phones move from 1.5 m to 8 m apart.
Far apart: ship time dilates, so the reactor clock runs slower than Earth's:
$$\Delta t_{\text{ship}} = \frac{\Delta t_{\text{Earth}}}{\gamma}$$
You gain time, but the manual glitches into gibberish.
Close together: the manual is crystal clear, but the reactor clock runs at up to 3× speed.
You have to keep balancing: walk apart to buy time, walk back together to read the next step.
How we built it
- SwiftUI native app; the two phones pair over MultipeerConnectivity with a 4-letter room code, with no server.
- Ultra-Wideband ranging through Apple's NearbyInteraction: the phones swap UWB discovery tokens over the game link, then measure each other continuously.
- A seeded rulebook, so both phones build the same puzzles and manual from a single random number, and no answers are sent between them.
- A hand-drawn 2D comic look built entirely in code, a Metal screentone shader for the manual's paper, and synthesised sound, including a warp hum that rises in pitch with β.
Challenges we ran into
Measuring the distance between two phones was the hardest part, and we went through four approaches:
- Ultrasound / sonar: emitting near-inaudible tones and timing the echo. Reflections and the phones' audio processing made it unreliable.
- Triangulation with beeps and listeners: one phone beeps, the other listens, and we time the gap. Syncing clocks and filtering out room noise was too fragile for a game.
- Bluetooth signal strength (RSSI): easy to read, but it jumped around with hands, bodies and phone orientation.
- iPhone UWB: after wiring NearbyInteraction into our own connection, we finally got extremely precise distance readings, accurate enough to put on a meter.
What we learned
How to turn real special relativity into a tradeoff players can feel. How UWB and peer-to-peer networking work on iOS. And that a good co-op game is mostly about two people talking.