QUICK ANSWER

Alexander Schikowsky reports that his small German software team built Kingdoms of Sand, a Stronghold-inspired 3D castle strategy game for the browser, with Claude in nine days, shipping about 145 releases and 250 pull requests. Claude wrote most of the code and a Blender cleanup script. The team wrote the specs, played every build, made the design calls and enforced CLAUDE.md rules and a test gate. The game is in closed beta, so none of these claims have been checked independently.

CREDIT

Made by Alexander Schikowsky. Summarized in our own words; all media belongs to the maker.

Alexander Schikowsky says his team built a browser castle game with Claude Code in nine days. According to his dev.to post, the game is Kingdoms of Sand, a Stronghold-inspired real-time 3D strategy game. The maker credits Claude with most of the code, a Blender cleanup script and the screenshots on each pull request. The team kept the concept docs, played every build, made the design calls, and wrote the CLAUDE.md rules and the test gate. The game is in closed beta, so treat everything below as the maker's own account.

What is Kingdoms of Sand, and where does it stand?

The dev.to post, published on 27 October, describes a real-time 3D castle strategy game for 1 to 8 players that runs in the browser. It lists the scope as:

  • 62 buildings and 23 goods
  • walls, moats, siege engines and dragons
  • separate phone layouts
  • ranked play, clans, tournaments and replays
  • German and English

The official site calls it a free real-time strategy game set in a medieval desert with oases, castles and dragons. It says the beta is free, needs no download, and runs on PC, Mac, tablet and phone. You get in through a waitlist: invite codes go out by email in waves, and players can invite friends with their own code. The site says a classic match lasts 30 to 60 minutes, and you win by capturing the opposing lord or the last keep.

One caveat applies to the whole post. The only evidence available is the maker's write-up and screenshots. Nobody outside the team has verified the game's scope or performance, and the beta is closed.

What happened in the nine days?

The maker's changelog runs from v0.1.0 on 19 October 2026 to v0.81.3. That is about 145 releases and around 250 pull requests in nine days.

The most useful detail is a mid-project switch. The team had planned a 2D isometric game. On day 4, the post says, they asked Claude to build the same scene in 3D with three.js, next to the existing 2D renderer. They compared the two, and by the next day the whole game was 3D.

The pattern carries over to other projects: when code is cheap to produce, building two prototypes and comparing them can settle a question faster than debating it.

The maker says the last five days went on details: fire spreading from roofs, the horse walk animation, the shape of fruit. Mobile bugs took time too. One example from the post: grass tufts showed up as red and green dots on iPhones.

The headline numbers need context. A release here is a player-visible changelog entry from one of many parallel threads, not a large feature. 145 releases means many small changes, not 145 major additions.

Where did the human effort go?

The maker describes the company as a small German software team, not a game studio, with no 3D artist or sound designer. Claude wrote most of the code. The team played every build and decided what to change.

Specs came before code

According to the post, the team wrote planning documents first and kept them in the repo for Claude to read and update:

  1. a master plan
  2. an architecture document
  3. a simulation spec with formulas
  4. a netcode spec
  5. a backlog

Design feedback stayed short and concrete

The post gives examples of the feedback the team sent, such as walls being too weak or a knight looking like a toy. The maker's stated lesson is that the bottleneck was deciding what they wanted, not writing code. He reports that small, specific requests with a screenshot of the problem worked better than large, vague ones.

Balancing the AI opponents

The post describes four AI opponent strategies: a defensive one, a trader, a raider and a siege specialist. The maker writes that the team balances them with a headless benchmark that plays every pairing on several maps from both starting positions. The post does not say whether Claude or the team wrote that benchmark.

The rest of the stack listed in the post includes PostgreSQL and OpenSkill for matchmaking. The post does not say how many person-hours went in, so the real human cost of the nine days is not stated.

How did the workflow keep parallel Claude threads from colliding?

One thread, one branch, one PR

The team did not work in one long chat. The maker says they ran many small threads, each with its own branch and pull request. On busy days that meant a few dozen PRs.

Two CLAUDE.md rules

The post quotes two rules from the project's CLAUDE.md:

  • Every player-visible change gets a bilingual changelog line.
  • The version number is picked last, by merging main and taking the next free number.

The maker says the second rule stopped most merge conflicts between parallel branches.

A test gate on every PR

The maker reports about 1,250 unit tests and 21 Playwright end-to-end specs. Every PR runs a typecheck and the quick tests. Pushes to main run everything, plus the Docker build, before deploy.

Playwright also captures before-and-after screenshots and short clips, which get attached to each PR. The team reviews pictures rather than reading diffs line by line.

This setup has a cost, and the post says so. End-to-end tests that render WebGL in software inside headless browsers got too slow for CI. The full E2E suite now runs on demand, not on every push.

How it compares with Anthropic's guidance

Anthropic's Claude Code best-practices page says CLAUDE.md is loaded into every session. It therefore works best when short and limited to what Claude cannot work out from the code, such as exact test, typecheck and lint commands, or parts of the codebase that mislead. The docs also suggest pasting screenshots into prompts, and they describe a /verify step that builds and runs the app to catch problems tests miss.

The team's process matches that guidance closely:

Anthropic's guidanceWhat the maker reports
Keep CLAUDE.md to project-specific rulesChangelog and version-number rules that apply to every thread
Give Claude information it lacksSpecs, formulas and netcode docs in the repo
Use screenshotsScreenshots of problems in prompts; Playwright images on PRs
Verify by building and runningTypecheck and tests per PR; full build before deploy

One gap remains. The docs warn against a bloated CLAUDE.md, and the post does not say how long the team's file is. For trimming an existing file, see the /doctor prompt audit notes.

Which technical choices made fast iteration possible?

The post describes a TypeScript monorepo of about 80,000 lines. It has separate packages for the simulation, content, protocol and AI, plus a Node server and a React and three.js client.

Deterministic simulation

According to the maker, positions are integers in 1/256 of a tile. A seeded random number generator lives in the world state, processing order is fixed, and tests check state hashes. Replays, reconnects and spectating all work by replaying the command log.

This design also helps an agent. When a simulation is deterministic, a test can show whether a change altered behaviour.

Netcode and performance

The server is authoritative and runs at 10 ticks per second. It sends binary deltas and enforces fog of war, so clients never receive hidden state. The maker's benchmark has two armies of 2,000 taking about 18 to 22 ms per tick on the server, against a 100 ms budget. The team measured this itself; nobody has reproduced it.

Soldiers given the same order share one pathfinding result. Animation data is stored in a texture, so the GPU animates thousands of soldiers.

3D without an artist

The post says buildings, walls, terrain, water and fire are generated in code. Characters started as AI-generated rigged models. Claude then wrote a Blender Python script that cleans the models, attaches weapons, picks animations and exports them to a compact binary format. The post does not name the tool that generated the characters. For a related approach, see the 3D-Agent Blender addon specimen, where the AI also writes Blender Python.

Verdict: who can copy this, and what should you check?

On the maker's account, this is not a no-code story. The process suits developers who already ship software: people who can write specs, read diffs, set up CI and keep an agent inside guardrails. The tests, docs and review loop do as much work as the prompts.

The closed beta leaves gaps. Balance, stability over long sessions, netcode under real load and exploits have not been shown in public. The maker is asking beta players to find exploits and breakage, which suggests the team treats these as open questions too.

The post also leaves out:

  • which Claude model and plan the team used, and the cost
  • how many Claude sessions ran
  • the total person-hours
  • the tool behind the AI-generated character models

The parts most worth copying:

  1. Write specs first and keep them in the repo.
  2. Run one thread per branch and PR.
  3. Add a CLAUDE.md rule only when you find yourself repeating an instruction.
  4. Ship a test with every change.
  5. Attach screenshots to every visual PR.
  6. When unsure about a renderer or approach, build both and compare.

For setting up the basics, start with the Claude Code setup guide for game development. For other build reports, compare this one with the Claude-built 3D Terraria rebuild and the 12-year developer's first AI game in Unity. More browser projects are under Browser games.

FAQ

Can Claude Code build a browser game in nine days?

The Kingdoms of Sand maker reports that his team did it, with about 145 releases and 250 pull requests between v0.1.0 and v0.81.3. Claude wrote most of the code. The team wrote specs, played every build, made design calls and kept a test gate. The game is in closed beta, so the claims have not been checked independently.

Is Kingdoms of Sand free to play?

According to the official site, the beta is free, needs no download and runs on PC, Mac, tablet and phone. Access is through a waitlist, with invite codes sent by email in waves.

What tech stack does Kingdoms of Sand use?

The maker describes a TypeScript monorepo of about 80,000 lines with separate sim, content, protocol and AI packages, a Node server, a React and three.js client, PostgreSQL, and OpenSkill for matchmaking. Netcode is server-authoritative at 10 ticks per second.

How do you stop parallel Claude Code threads from causing merge conflicts?

The team gave each thread its own branch and pull request. A CLAUDE.md rule tells Claude to pick the version number last, by merging main and taking the next free number. The maker says this stopped most merge conflicts.

What should go in CLAUDE.md for a game project?

Anthropic's best-practices page says to keep it short and include only what Claude cannot work out from the code, such as exact test, typecheck and lint commands and misleading parts of the codebase. The Kingdoms of Sand team used rules that apply to every thread, such as bilingual changelog lines and how to pick the version number.

SOURCES