Ship
I built a simple luck-based game where players choose a unique username and roll for a score that can suddenly jump higher or drop lower. The hardest part was realizing that trusting the browser meant people could manually change scores, so I moved the important logic to a Cloudflare Worker and made the server handle usernames, cooldowns, random rolls, and score saving. I also fixed the old Firebase security issues, removed exposed PINs, added protected sessions, and made sure duplicate usernames are rejected. I’m proud that the leaderboard is now much harder to abuse while still keeping the project lightweight and free to run. You can test it by opening the site, entering a username, starting the game, and clicking Roll.
- 2 devlogs
- 3h
- 3.60x multiplier
- 12 Stardust