Case study · Dec 2025

B3.games

Browser games kids can make by talking to an AI.

Date
Dec 2025
Tools
Next.js, TypeScript, Supabase, Phaser, Cloudflare Workers, E2B, Vitest, Playwright, Biome
  • 483games played on my brothers' accounts
  • 5games published from their accounts
  • 2,406tests passing at the December 2025 audit

The challenge

Kids can have good game ideas long before they can code them. I built B3.games for my two younger brothers: a place where they build, edit and share browser games with AI help, with no email accounts and no API limits to worry about. Adults handle the keys, costs and settings behind the scenes.

The outcome

B3.games is a browser game platform with shared avatars, a biome system you unlock by playing, and an AI-assisted game creator. A kid describes a game in a chat, and the AI builds a playable game with a link they can share. To change it, they chat with an agent beside a live preview. Anyone can play a game at its own URL without signing in.

Uploaded HTML games can also run as multiplayer rooms: a game declares its shape in meta tags and the platform handles rooms, identity and transport.

Results

  • 2,406 tests passing across 48 files at the December 2025 audit.
  • 483 games played on my brothers' accounts, over 16 days from Dec 28, 2025 to Sep 2, 2026.
  • 5 games published from their accounts, one made with the AI game creator.
  • 813 commits, December 2025 to July 2026.
  • Current version 1.9.177.

Research

Before reworking the achievements, leaderboard and shop screens, I synthesised 30 sources on game UX and player psychology into before-and-after proposals. For achievements, that meant an unlock moment, progress previews near completion, and tier colours taken from design tokens instead of hardcoded values.

Design process

Systems shared across games. The biome system was designed to work for every game, not just the first runner, so worlds carry over between games.

An honest status list. One document tracks each system as working, partial or missing, where working means built, integrated and tested.

Design docs before code. The repo keeps a design system, component catalogue, brand guide, avatar style guide and a pattern for adding new games.

Tested on the real deploy path. Passing locally is not enough, because the edge runtime differs from Node; every change is checked against the production build and the live version.

Up nextFamilyChat