All case studies
Claude Code DeliveryConsumer Games· Cloudbrics (in-house product)

Two Live Multiplayer Games in 8 Days, Built with Claude Code

8 days
To two live games
82
PRs merged
280+
Automated tests

One engineer steering Claude Code took Ludo from first commit to live online play on day one, added a second game (Rang) on a shared platform the same day, and shipped iOS and Android builds by day four. 82 pull requests in 8 days, each one tested before merge.

Most of our case studies describe client work we can't name. This one you can open on your phone right now: ludo.cloudbrics.com and rang.cloudbrics.com.

Why We Built It

Clients ask a fair question: does a Claude Code workflow hold up past a demo? We wanted an answer that includes the parts demos skip. Several people playing in real time on flaky phone connections. Information some players must never see. Randomness nobody can tamper with. Native apps from the same code. And the monitoring and release process that keep it all running while people play.

A multiplayer game has all of that in a small package, so we built two: Ludo, the family board game, and Rang (also called Court Piece), a South Asian card game for two teams of two.

The Timeline

  • Day 1: rules engine, 2D board, bots, then online play with private rooms, quick match and fair dice, deployed on every merge. Rang followed the same day on a shared room platform split out of Ludo.
  • Day 2 to 4: new card art, iOS and Android apps from the same codebase, the games moved to their own domains, reconnect and turn-clock fixes found in real games.
  • Day 5 to 8: sign-in, crash logging and a runbook, server deploys that wait until no game is running, country flags, replays and live watching.

That is 82 pull requests in 8 days, each one small and tested before merge.

How the Work Was Run

1. Plan in Writing First

Before any code there was market research, positioning, a tech-stack comparison, an architecture and a phased roadmap, all written with Claude and kept in the repository. Big decisions go into short architecture decision records, so every later session starts from the same ground rules.

2. One Rules Engine, Many Hosts

Each game's rules live in a pure TypeScript package with no screen, no clock and no built-in randomness. The same code runs on the server for online games and on the device for offline ones. Clients only send intentions and animate what the host decides. That shape made the code easy for Claude to test, and it is why the second game took a day instead of a month.

3. Tests and Real Browsers on Every Change

Rule changes start with tests, including property tests that play hundreds of random games. On top of 280+ unit tests, scripted browsers play real matches on phone and desktop sizes, with two or three players at once, and check things a person would notice: the die shows the rolled number, a dropped connection doesn't freeze a turn, and an idle board doesn't burn battery.

4. A Human Steers, Claude Builds

One engineer set direction, reviewed each change and made the product calls. Claude wrote most of the code, the tests and the documentation. A project guide in the repository records every rule worth keeping, so quality didn't drift as the codebase grew past 30,000 lines.

What's Inside

  • Authoritative server: Colyseus on Cloud Run decides every roll, deal and timer. The client can't cheat because it doesn't decide anything.
  • Provably fair randomness: each match commits to a hidden seed up front and reveals it afterwards, so players can check every roll and shuffle.
  • Hidden information: in Rang the server never sends a player anyone else's cards, and bots only use what a person at the table could see.
  • Resilient online play: reconnect to your seat, grace clocks, and a strong bot that plays for anyone who leaves, always labelled as a bot.
  • One codebase, three platforms: a fast 2D web client with an optional 3D board (Babylon.js), wrapped with Capacitor for iOS and Android.
  • Accounts and progression: Supabase for guest accounts, Google and Apple sign-in, coins and leaderboards.

What This Means for Your Team

The speed didn't come from typing faster. It came from the workflow: written plans, small pull requests, a codebase shaped so changes can be tested, and checks that run real software the way users do. That is the same playbook we bring to client teams in our Claude Code training and Claude-Native squads.

Try Ludo or Rang, then talk to us about what this could look like on your roadmap.

Want results like these?

Schedule a 30-minute call. We'll map out where your biggest velocity gains are hiding.