Every day I'm the passenger on a boda boda. So I built a game about surviving the ride.

Every day I'm the passenger on a boda boda. So I built a game about surviving the ride.

This article is written as part of the Kiroween 2026 hackathon. I built the whole thing in five days, with Kiro. Here is how it went. In Kampala, if you want to beat the traffic, you don't take a taxi — you take a boda boda. I take one every day. As a passenger. A hand signal, a fare you negotiate before you sit, and thirty minutes of saved time. On a good morning that is the whole deal. From the back seat you notice what you can't from a car. The speed you can't see, only feel. The overtake that puts you on the wrong side. The corner taken on faith. The rider's helmet is on his head; yours is whatever he hands you, if he hands you one. And your only control, the whole ride, is one word: mpola — slow down. Some riders listen. Some don't. I have also seen a boda crash. I am not going to describe it. If you live here, you have seen one too, and you know the sound a road full of people makes when it happens. So this is not a story about an idea I found on the internet. The road in the game is the road I ride — from the back seat. The problem with telling riders the rules The numbers are not in dispute: 26,044 crashes in Uganda in 2025, 4,602 of them fatal. In Kampala, motorcyclists are half of everyone killed on the road (Uganda Police; KCCA). And every one of those motorcycles carried somebody's passenger. The riders know these numbers better than the reports do. The passengers know them in the knees. Most bodas are organised in SACCOs — the rider associations. That is where the safety trainings happen, where the reflective vests get handed out, where an officer comes to read the rules out. And the riders nod, and they leave, and nothing changes — because a laminated rule does not stay with a rider at 60 km/h in the rain with a passenger on the back and a matatu cutting in. Knowing is not feeling. That gap is the whole project. The idea: make the road haunted Nine Lives: Night Boda is a 3D boda ride in the browser, on a phone. It puts you on the rider's seat — the seat I have watched for years from behind it — and it gives you one job: carry a passenger home through three four-lane Ugandan roads, with nine lanterns for lives. I wrote that passenger as me. Every day, twice a day, somebody carries me. If the rider rides badly, the passenger pays. In the game, the passenger is the mission. The ghosts are not monsters. They stand at the black spots — and every one of them is telling the rider the thing that would have saved both of you: slow down here. Two minutes of the game: the hook, the haunting, the headstone, how Kiro built it. One pure function scores how close you are to death right now. Every scare reads from it. Fog, a heartbeat climbing from 60 to 140, pale hands at the edge of the screen — and a carved line that always names the fix: "Too fast for the bend. Brake before it." "Wrong side of the road. Keep left." Ride badly into a black spot and the ghost rushes you. Ride in under the limit and it bows and steps aside: they let you pass. Crash and a lantern goes out — you get nine, a real rider gets one. The ride ends on a headstone listing every mistake, its road sign, its cost, the law it breaks, and a photo of the moment it happened. Photo: BabyJat, Wikimedia Commons, CC BY-SA 4.0. Everything I watch from the back seat is in the game The road as Ugandan law asks it. Four lanes; keep left; overtake only on the right; stop at red lights and zebra crossings; walk the bike over speed humps. The wrong-side overtake that scares you as a passenger is the first thing the game punishes. A roundabout with working traffic lights, zebra crossings on the arms, people crossing and slow traffic circling — slow to thirty and give way, or the ghost does not bow. Police checkpoints. The boom stays down until your permit and insurance are checked. Riding into it throws you off. Papers are gameplay, because papers are the law — and because a checked rider is a safer ride for whoever is behind him. The everyday hazards: matatus that stop without warning (I have been the passenger behind one when it did), taxis that cut in from behind, cows, goats and dogs crossing in the dark. Highway crime with real remedies. A snatcher appears in the mirror; flash your headlight and it backs off. Never stop at a fake roadblock. Reach a lit safe zone. Call SOS — the passenger's SOS. A haunted dashboard: a brass speed dial with the zone limit in red on the rim, lanterns that smoke when one goes out, a candle that burns down as the fuel gauge, antique mirrors where a faceless shape rides with anything closing fast. The speed you can't see from the back seat, the game shows you. Rider school and the garage. Ride badly and a quiz sends you back over the exact rules you broke. Ride clean to earn points for your permit, your insurance, a better helmet — the helmet your passenger is still waiting for. Day mode with a real sun, for learning without the horror. Captions on every voice line and sound. Reduced motion. Swipe gestures on a phone, arrow keys on a PC, and every screen fits without scrolling from a 360 px phone up. All of it — three roads, 119 tests, licence-checked assets — in five days. Night ride: four lanes under a photographed sky, lanterns on the dash. Day mode: the same roads, the same rules, no horror. The headstone: every mistake, its sign, its cost, the law it breaks. The garage: permit, insurance, helmet — earned with clean rides. The five days with Kiro Day one, I wrote specs. Honest disclosure: the first drafts of those specs came out of a Claude.ai conversation. From that seed on, everything lived and grew in Kiro — seven specs, each with EARS requirements, a design with correctness properties, and a task list. The pure core came from one steering rule I wrote early: no three.js, no DOM, no Math.random, no Date.now in the simulation. The whole ride is: step(state, input, dt): { state, events } Enter fullscreen mode Exit fullscreen mode That one rule made everything else possible — headless bots, replays, the evidence photos. The bug that sold me on property tests. I wrote this property: nothing hits the rider from behind in their own lanes, on any road, for any rider. fc.assert(fc.property( fc.integer({ min: 1, max: 2 ** 30 }), // any seed fc.constantFrom(...LEVELS), // any road fc.constantFrom('cautious', 'reckless', 'random'), // any rider (seed, level, name) => { // ride 2000 steps; any vehicle that hits from behind // must mean the rider was in an oncoming lane, // and the horn must have sounded HORN_LEAD seconds earlier })); Enter fullscreen mode Exit fullscreen mode Fast-check found a horn rule that teleported vehicles into each other. The shrunk counterexample pointed straight at it. The seed is now a permanent regression test. That was the moment Kiro stopped being a code generator for me: I gave it rules it could fail, and it argued back with evidence. When the spec met the road, the spec lost. My bots showed a junction zone could be crossed in 1.3 seconds — under the 1.6-second speeding timer it was built around. So speeding cost nothing. I rewrote the requirement, and the tests with it. The game got fixed, not the test weakened. Ethics by steering file. My first black-spot line said the dead died "going that fast." That blames the victims. I stopped, and wrote an ethics steering file so it could not come back: no real brands, no children, no faces on silhouettes, no gore, every statistic cited — and the dead are mourned, never mocked. A grave-keeper agent reviews tone; a hook checks it on every content change. Twelve hooks ran my guard rails: tests and a purity check on every core change, a licence check on every asset, credits regenerated, budgets enforced — 60 KB first load, 350 KB game, 1.5 MB audio, 150 draw calls. Build fails if they are exceeded. And a cow was on screen while a dog barked; a negative first frame time threw the chase camera off the road. Screenshots found what the tests did not. 119 tests now, 36 of them properties. What I would tell another builder Put numbers in the spec, then let bots argue with them. Write properties for the rules you would otherwise forget to re-check. Say what did not work. Mine: no CC0 motorbike model exists, so the boda is a CC-BY model from Sketchfab, hand-fitted, credited in CREDITS.md. The narrator is AI-generated (ElevenLabs, browser voice as fallback) — I have not yet had a Ugandan reviewer check the visuals, the voice and the Luganda phrasing. That review is next. Try it Watch the two-minute trailer on YouTube. Play it now — phone or desktop, no install, headphones on. Read the code — MIT, with the .kiro folder. The Devpost project page, with the full write-up. Next I want to take it to the SACCOs — the rider associations that already gather the riders for safety trainings. A game that runs on any phone, in a session where a trainer is present, feels like it belongs there. And I want riders to tell me what a passenger got wrong. I built this from the back seat. If you ride, or you train riders, I am asking: tell me what I got wrong. _ Real riders don't get nine lives. Ride safe._ Sources: Uganda Police, Uganda Road Traffic Report 2025; KCCA, Kampala Road Safety Report 2025. Cover Photo credit: AP News. All game assets and licences: CREDITS.md in the repository.

Original Source

Read the full article at Dev →

KhanList aggregates and links to publicly available news content. We do not host full articles from third-party sources. Always verify important information with original sources.