Rocketman
A provably fair crash game with a space theme. Rocket flies -- multiplier grows. Cash out before it explodes. Three modes with different volatility and jackpots. Built solo as a side project alongside Depo44.
Status: In development | Current: Iteration 3 done -- animated game loop live | Next: Iteration 4 -- single-player with Supabase
Iteration 3 -- Animated game loop
Live multiplier, cash out button, 5-phase state machine, auto-restart with 5s countdown.
Math simulator
Runs crash rounds in the browser to verify that RTP and operator margin converge to target values. Set a bet amount to see results in dollars alongside percentages.
House edge
4.0%
Target RTP
96.0%
Max payout
×10
Jackpot
×10
Game modes
Each mode has a hard payout cap -- the jackpot multiplier is the ceiling. If the rocket reaches it, the round ends and all active bets win at that multiplier.
RTP 96.0% | House edge 4.0%
Standard mode. Lower risk, frequent crashes, entry-level bets.
RTP 97.0% | House edge 3.0%
Higher volatility. Rare big wins. For players who want more.
RTP 98.0% | House edge 2.0%
Maximum volatility. Capped at ×100. High minimum bet. Few reach it.
Roadmap
Changelog
Animated game loop -- Iteration 3
Full game animation at /sandbox/rocketman/demo. 5-phase state machine: idle → countdown (5 s RAF timer) → flying → cashed_out | crashed → countdown loop. Multiplier grows at e^(t × ln(10)/10000) -- reaches ×10 in exactly 10 seconds. Crash RNG: 1/(1−u) capped at ×10, 4% instant-crash probability. RAF-based animation with stale-closure prevention via useRef. Visual phase feedback: blue curve (flying), green (cashed out), red (crashed). Rocket emoji → 💥 on crash. Bottom control bar adapts to each phase. Auto-restart: 1.8 s delay after crash, 2 s after cash out, then 5 s countdown.
Visual prototype -- Orbit mode
Iteration 2: static visual mockup of the Orbit game screen at /sandbox/rocketman/demo. SVG canvas (720×420) with space theme: dark background, star field, exponential multiplier curve (10^(t/10)) with gradient fill and glow stroke. Rocket emoji at curve tip, large 4.20× multiplier display. Left panel with mock player list (User/Bet/Win). Bottom controls: current bet, live win amount, CASH OUT button. No animation yet -- pure static snapshot at ×4.20.
Math fixes + session model
Fixed RNG formula bug: replaced (1−h)/(1−u) with 1/(1−u) -- crash points are now always ≥ 1×, instant crash rate correctly converges to house edge. Fixed operator earnings: switched from empirical "ride-to-crash" calculation (which showed operator losing money) to correct theoretical values (N × bet × houseEdge). Replaced "Simulation size" selector with "Players per round" (1/10/100/1000) and "Rounds" (1/10/100/1000) -- simulator now models a real session. Removed redundant "Operator edge/round" column, replaced with "Operator / 1K rounds" showing dollar earnings per 1,000 rounds. Hard payout caps confirmed for all modes: Orbit ×10, Moon ×50, Mars ×100. UI: aligned card heights across rows, added section titles, removed container background.
Bet amount + operator earnings
Added bet amount selector (5¢, 10¢, 50¢, $1, custom input). Crash distribution histogram now shows dollar returns per bucket. New Operator Earnings block: total wagered, paid out to players, operator profit, profit per round.
Math simulator
Interactive crash simulator with three modes (Orbit/Moon/Mars). Runs up to 1M rounds in browser using inverse-transform sampling. Verifies RTP convergence and shows crash distribution histogram.
Project started
Iteration 0 -- project page live on bildery.com/sandbox/rocketman.