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. Links on this page currently go to the plain official sites. If we switch any to affiliate links, they'll be labeled aff. link, and we may earn a commission at no cost to you. Picks are based on fit, not payout.

SPLIT 01

Day one you + friends

$20.87/mo
CategoryToolPlan$/moWhy
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 note

MIT 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 note

Free 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 note

Free 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.87Excludes: 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.
SPLIT 02

First users ~100 players

$20.87/mo
CategoryToolPlan$/moWhy
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 note

Free plan: unlimited public/private repos, 2,000 Actions minutes/mo.

hosting Free
$0.00
No change.
Cost note

Free 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 note

500MB 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 note

Free 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.87Excludes: 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.
SPLIT 03

Scale ~1,000 players

$45.87/mo
CategoryToolPlan$/moWhy
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 note

Free plan: unlimited public/private repos, 2,000 Actions minutes/mo.

hosting Free
$0.00
Still free for static assets.
Cost note

Free 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 note

Free 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 note

Free for 1 user and 50k errors/mo. Team plan is $26/mo when a second person needs access.

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.87Excludes: 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; Pro ($25) adds 10M tokens 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.

All prices are in USD, billed monthly unless noted, and come from each tool's official pricing page as of October 17, 2026. Usage-based costs use the assumptions in each cost note. Some links are affiliate links (marked affiliate: true). StackSpeedrun may earn a commission at no extra cost to you. Picks are based on fit, not payout, and every affiliate link must be clearly disclosed on the page where it appears.

Patch notes for your stack

Get price changes and new releases weekly

One short email whenever a tool in a recipe changes its price, limits or free tier.

We only store your email (with our email provider, Resend) to send the newsletter. No sharing, no tracking pixels. Unsubscribe anytime. Privacy