How Deterministic Multiplayer Works Without Heavy Game Servers
When two friends race each other in Jack's Hop or Jack's Garden Guard, both players face the exact same traffic lanes or the exact same diving crow waves over a 90-second match. Even better, your controls respond instantly with zero network lag—yet the server still verifies every single point. How does that work?
One Seed, Identical Worlds
Instead of streaming sixty frames per second of enemy positions over the internet, the server picks a single random number called a seed when a match begins. Both browsers feed that exact same seed into a simple, predictable random number generator. Because the math is identical on both devices, every car, log, Golden Crow, and diving pattern appears at the exact same millisecond for both players.
Whole Numbers Only
Floating-point decimals can round differently across browsers or between JavaScript and PHP. To prevent tiny rounding drift from ever desynchronizing a match, our simulation uses whole integers only—positions are measured in thousandths of a cell, and time advances in fixed 20-millisecond ticks (50 ticks per second).
Tiny Input Logs Instead of Heavy Streams
While you play, your browser runs the game locally for buttery-smooth controls and records only your button changes—just a tick number and a direction or button mask. Twice a second, it sends that tiny list to the server, which replays your inputs through the exact same integer rules to compute the official score. It keeps the site fast, fair, and lightweight enough to run on any phone or laptop.
Enter the Lobby