Indie web game prototype (browser game + leaderboard)
Claude Code writes a Phaser (free, open source) game that ships as static files on Cloudflare Pages. Add a Supabase leaderboard once people are playing, and go to Supabase Pro when the community is real.
Who it's for: Gamers and hobby devs who want a playable browser game with a share link and a global high-score table.
Prices last verified
Disclosure: tools marked aff. program have affiliate programs. Affiliate links are labeled aff. link, and we may earn a commission at no extra cost to you. Picks are based on fit, not payout.
Day one you + friends
$20.87/mo| Category | Tool | Plan | $/mo | Why |
|---|---|---|---|---|
| coding agent | Claude Pro | $20.00 | Great at game loops, physics tweaks and 'make the jump feel better' iterations in a real codebase. Cost note$20/mo monthly or $17/mo billed annually. Claude Code is included in Pro. Heavy daily use may need Max (from $100/mo). | |
| game engine | Open source (MIT) | $0.00 | Mature 2D HTML5 game framework with lots of examples that AI agents already know. Cost noteMIT license per the GitHub repo. No cost. | |
| code hosting | Free | $0.00 | Owns your code outside any AI builder. Needed for exporting, Cloudflare/Vercel deploys and Claude Code. Cost noteFree plan: unlimited public/private repos, 2,000 Actions minutes/mo. | |
| hosting | Free | $0.00 | A static game build hosts free with unlimited asset requests, which matters for sprites and audio. Cost noteFree plan: 500 builds/mo, 100 custom domains per project, static asset requests free and unlimited (Workers pricing page). | |
| domain | .com at cost | $0.87 | At-cost renewals, DNS and hosting in one dashboard. Cost note~$10.46/yr .com amortized monthly. Price seen on a third-party price tracker (domainoffer.net), not Cloudflare's page; Cloudflare doesn't publish a per-TLD list publicly. Check your renewal price in the Cloudflare dashboard. | |
| Split total | $20.87 | Excludes: Transaction fees (Stripe/MoR % of revenue), any one-time fees, and usage above stated assumptions. | ||
Switch when…
- Players ask 'what's the high score?' Add a leaderboard.
First users ~100 players
$20.87/mo| Category | Tool | Plan | $/mo | Why |
|---|---|---|---|---|
| coding agent | Claude Pro | $20.00 | Adds the leaderboard, a basic anti-cheat check and polish. Cost note$20/mo monthly or $17/mo billed annually. Claude Code is included in Pro. Heavy daily use may need Max (from $100/mo). | |
| game engine | Open source (MIT) | $0.00 | No change. | |
| code hosting | Free | $0.00 | Owns your code outside any AI builder. Needed for exporting, Cloudflare/Vercel deploys and Claude Code. Cost noteFree plan: unlimited public/private repos, 2,000 Actions minutes/mo. | |
| hosting | Free | $0.00 | No change. Cost noteFree plan: 500 builds/mo, 100 custom domains per project, static asset requests free and unlimited (Workers pricing page). | |
| database auth | Free | $0.00 | Leaderboard table + anonymous or social login with row-level security. 100 players is tiny for the free tier. Cost note500MB database, 50k monthly active users, 5GB egress, 1GB storage, 2 projects. Free projects pause after 1 week of inactivity. | |
| analytics | Free tier (pay-as-you-go beyond) | $0.00 | Track level completion and where players quit. Cost noteFree each month: 1M analytics events, 5K session recordings, 1M feature-flag requests, 100K exceptions. Assumes you stay under these (about 1,000 users × ≤500 events/mo). | |
| domain | .com at cost | $0.87 | At-cost renewals, DNS and hosting in one dashboard. Cost note~$10.46/yr .com amortized monthly. Price seen on a third-party price tracker (domainoffer.net), not Cloudflare's page; Cloudflare doesn't publish a per-TLD list publicly. Check your renewal price in the Cloudflare dashboard. | |
| Split total | $20.87 | Excludes: Transaction fees (Stripe/MoR % of revenue), any one-time fees, and usage above stated assumptions. | ||
Switch when…
- Players start gaming the leaderboard. Move score validation into a server function (e.g., Supabase Edge Function or a Cloudflare Worker).
- Play is bursty and the free project might sit idle for a week and pause.
Scale ~1,000 players
$45.87/mo| Category | Tool | Plan | $/mo | Why |
|---|---|---|---|---|
| coding agent | Claude Pro | $20.00 | Ongoing content and features. Cost note$20/mo monthly or $17/mo billed annually. Claude Code is included in Pro. Heavy daily use may need Max (from $100/mo). | |
| game engine | Open source (MIT) | $0.00 | No change. | |
| code hosting | Free | $0.00 | Owns your code outside any AI builder. Needed for exporting, Cloudflare/Vercel deploys and Claude Code. Cost noteFree plan: unlimited public/private repos, 2,000 Actions minutes/mo. | |
| hosting | Free | $0.00 | Still free for static assets. Cost noteFree plan: 500 builds/mo, 100 custom domains per project, static asset requests free and unlimited (Workers pricing page). | |
| database auth | Pro | $25.00 | No pausing and daily backups, so the leaderboard and player accounts are safe. Cost note$25/mo includes a $10 compute credit that covers the Micro instance, 100k MAU, 8GB disk, 250GB egress and 100GB storage. A bigger instance adds cost (Small +$15/mo, Medium +$60/mo). | |
| analytics | Free tier (pay-as-you-go beyond) | $0.00 | Product analytics, session replay and feature flags in one tool, with a generous free tier. Cost noteFree each month: 1M analytics events, 5K session recordings, 1M feature-flag requests, 100K exceptions. Assumes you stay under these (about 1,000 users × ≤500 events/mo). | |
| errors | Developer (free) | $0.00 | Get alerted to crashes before users email you. Cost noteFree Developer plan: 1 user and 5k errors/mo (sentry.io/pricing). Team is $26/mo billed annually with default prepaid data and includes 50k errors; a second person needs Team. | |
| domain | .com at cost | $0.87 | At-cost renewals, DNS and hosting in one dashboard. Cost note~$10.46/yr .com amortized monthly. Price seen on a third-party price tracker (domainoffer.net), not Cloudflare's page; Cloudflare doesn't publish a per-TLD list publicly. Check your renewal price in the Cloudflare dashboard. | |
| Split total | $45.87 | Excludes: Transaction fees (Stripe/MoR % of revenue), any one-time fees, and usage above stated assumptions. | ||
Switch when…
- You add realtime multiplayer. That's a different architecture (dedicated game server), outside this recipe.
- You want a storefront or community. Also publish on itch.io (terms not verified here).
Alternatives
Bolt Free / Pro aff. program
$0.00/mo · pricing source ↗
Beginner-friendly: describe the game in chat and play it in the browser right away. Free gives 1M tokens/mo with a 300K daily token limit; Pro ($25/mo monthly, $18/mo billed yearly) starts at 10M tokens/mo with no daily limit, rollover and a custom domain.
Supabase Free for the whole run
$0.00/mo · pricing source ↗
If losing the leaderboard isn't a disaster, Free technically fits 1,000 players. Pro is a resilience choice, not a capacity one.
Recent changes that affect this recipe
- · Claude Code: Claude Code 2.1.331 and 2.1.332: skills from MCP servers, a hook to refuse skill shell commands, claude doctor checks the API source ↗
- · Claude: Skills over MCP in public beta; MCP Tasks and Elicitation now generally available source ↗
- · Cloudflare: Cloudflare Email Sending now works on the Workers Free plan (to your own verified addresses) source ↗
- · Claude: Claude Ship (beta): review, fix and approve pull requests, plus /ship in Claude Code source ↗
FAQ
How much does the Indie web game prototype (browser game + leaderboard) stack cost per month?
Day one (you + friends): $20.87/month; First users (~100 players): $20.87/month; Scale (~1,000 players): $45.87/month. Totals exclude transaction fees and one-time fees. Prices verified 2026-11-30 from official pricing pages.
When should I move past the day one stack?
Players ask 'what's the high score?' Add a leaderboard.
Which tools are in the ~1,000 users stack?
Claude Code (Claude Pro), Phaser (Open source (MIT)), GitHub (Free), Cloudflare Pages (Free), Supabase (Pro), PostHog (Free tier (pay-as-you-go beyond)), Sentry (Developer (free)), Cloudflare Registrar (.com at cost).
Which AI coding tool does this recipe use?
Claude Code through a Claude Pro plan ($20/month). Codex (ChatGPT Plus), Devin Desktop Pro and Google AI Pro cost about the same; see our AI coding tool picker at stackspeedrun.com/ai-coding-tools/ for the full comparison.
Comparing coding agents? See the AI coding tool picker. Launching to real users? Run the security checklist first.
All prices are in USD, billed monthly unless noted, and come from each tool's official pricing page as of November 30, 2026. Usage-based costs use the assumptions in each cost note. Tools marked "aff. program" have affiliate or referral programs. Unless a link is labeled "aff. link", it goes to the plain official site and earns us nothing. If we use an affiliate link, we may earn a commission at no extra cost to you. Picks are based on fit, not payout.