Recompute and bound every score on the server
The server ignores the client's score, recomputes it from distance and crystals, and rejects any distance or crystal count that the game's own speed rules could not reach in the time the server measured.
An endless orb-runner for the browser with five worlds, synthesised nature soundscapes and offline play, backed by a shared leaderboard that recomputes every score on the server and rejects runs that could not have happened.
Browser runner games are easy to start and easy to cheat. A public leaderboard that trusts the score a page sends fills with impossible numbers, while a game that needs an account or a network connection before it plays loses players before the first jump.
The game has to start instantly with no account, play offline once installed, and keep working when browser storage is unavailable.
Every score a page submits is untrusted, so the server must judge each run without replaying it.
Controls have to work with a keyboard, a mouse and two thumbs on a phone, including holding a slide while jumping.
Five worlds need their own sound without shipping audio files that would slow the first load.
Saves from the game's earlier name had to survive the rename to Orbline.
A TanStack Start app renders the game UI in React around a full-screen canvas engine, and TanStack Start server functions run the leaderboard against PostgreSQL through Drizzle.
A requestAnimationFrame loop with a capped time step drives separate modules for the player, obstacles, collisions, power-ups, particles, scoring and a layered parallax background on a 2D canvas.
Five worlds (Northern Glacier, Bloom Meadow, Sunfall Dunes, Coral Deep and Cinder Caldera) each have four speed stages, alongside unlockable orbs, three power-ups, achievements and daily challenges defined as static data.
Web Audio synthesises wind, rain, bubbles, lava crackle and thunder from filtered noise, mixed per world and stage, with no audio files.
Server functions issue a run ticket when a run starts, measure the time until the result arrives, recompute the score and store every accepted or rejected run with its reason.
The server ignores the client's score, recomputes it from distance and crystals, and rejects any distance or crystal count that the game's own speed rules could not reach in the time the server measured.
Each soundscape is a small recipe of noise filters, so all five worlds sound different without adding audio downloads.
Progress, orbs and settings live in guarded localStorage, and a leaderboard name is the only thing a player registers, kept as a hashed token rather than an account.
Without a database URL in development, the app runs PGlite, PostgreSQL compiled to WebAssembly, and migrates it automatically, so local runs use the same queries as production PostgreSQL.

Share your challenge, scope, and timeline to start a focused conversation.