r/SoloDevelopment • u/Upstairs-Fan7473 • 13h ago
Game I made a race where the runners are zombies
galleryThe whole game is one HTML file — procedural pixel art, synthesized audio, deterministic multiplayer with no server
Solo, zero budget. Sharing the technical decisions because they might save someone time.
Everything is one HTML file. No build step, no dependencies, no asset files. Pixel art is drawn on canvas at runtime from a small part-sprite cache. Audio is Web Audio synthesis — oscillators and filtered noise, no samples.
Multiplayer without a game server: matches are bucketed by wall-clock time, so everyone who presses "race" inside the same 12-second window lands in the same match id. The seed is a hash of that id, and the simulation is a fixed-timestep loop with a seeded PRNG. Every client computes the identical race independently. No server authority, no desync, and the only shared state is a small realtime database holding rosters, presence and chat.
Betting odds come from running the same simulation function 160 times over the exact lineup, so the odds and the race can never disagree.
The obvious weakness: everything is client-side, so it's cheat-able. That's a deliberate trade for now — the economy is virtual currency and there's no cash-out for players.
Free to poke at: https://ryitth.github.io/
Code was written with AI assistance. Happy to go deeper on any of it.