Lattice: An isometric game kit designed to be written by agents

achandratre1 pts0 comments

Lattice — isometric games made easy

Every world on this page renders in your browser as you read, so with JavaScript off there is<br>nothing to fall back to. The writing, the figures and the reference are still here.<br>Source: https://github.com/C-Aniruddh/lattice

asset files

How this was measured find packages -type f -not -path '*/node_modules/*' -not -path '*/dist/*' -not -path '*/coverage/*' — 207 .ts, 19 .json, 9 .md, nothing else

gzipped, all nine<br>83.02kB

How this was measured npm run size — total 83.02 kB, exclusive backends charged at the heaviest, never summed

core libraries

How this was measured .lattice/kit.json — packages

dependencies

How this was measured every package.json has no `dependencies` outside @latticekit; core has none at all

agent skills<br>12

How this was measured find skills -name SKILL.md | wc -l — twelve directories under skills/, each carrying one SKILL.md: the parent that owns /lattice, plus eleven specialists it loads (starting, art, world, economy, input, sound, saving, hud, determinism, performance, traps). The parent is counted because it is a skill and not a wrapper — it is the one that fires on a from-scratch build.

traps written down<br>34

How this was measured grep -c '^### ' skills/traps/SKILL.md — one heading per named failure that compiles, runs, and produces a plausible-looking broken game. Each carries the wrong version as well as the right one, because recognizing the wrong one is the job.

All six measured at cbd48bd, 2026-08-18, Apple Silicon, Node v24.18.<br>Hover or tap any of them for the command that produced it.

/one-sentence

From one sentence

This went in. This came out.

>/lattice a game where you place stalls and open gates to pull the crowd to your bakery before the market closes

Run Before the Bell

Before the Bell

Grok &middot; 1,482 lines over 9 modules

Open full size<br>Source, unedited

Grok's agent, in an empty directory, with the packages from npm and no access to this<br>repository. Nobody here designed it, named a file or fixed a bug — the source is unedited, and these are not<br>gallery exhibits: nothing in them was held to a line rule and nothing was tidied.

Two more, the same way

Run Chime Path

>/lattice a game where you hang chimes along a mountain path and tune each one, so the wind plays them in order as walkers pass

Chime Path

Claude &middot; 1,341 lines over 6 modules

Open full size<br>Source, unedited

five HUD nodes ship under the contrast floor, and the agent that drove a browser still missed them

Run Evenfall Orchard

>/lattice a game where you plant an orchard and each evening choose to harvest or let it grow, and it keeps growing while the tab is closed

Evenfall Orchard

Codex &middot; 73 lines in one module

Open full size<br>Source, unedited

one phase of its day is 84% one near-black color, which its author never saw

All three, their transcripts, what was verified by hand and the defects left in:<br>from-one-sentence/. The<br>9 packages they installed are the ones on npm, at the version their lockfiles pin.

/gallery

The gallery

Eighteen worlds, running right now.

Under each one is the sentence it would be asked for. Above it is that world, live in your<br>browser — a directory under examples/, under 200 lines of logic, seeded from its own URL.

You have asked your browser for reduced motion, so nothing on this page starts by<br>itself. Every tile below is built and painted once, and stays on that frame until you press Run.

Run Crowd

CLOSED-FORM CROWDS

a busy piazza with hundreds of people crossing it, all walking somewhere

Crowd

0 bytes of state per walker

Open full size<br>Source

Run Island

DAY CYCLE

a small island where I can watch a whole day go by in a minute

Island

a 90-second day

Open full size<br>Source

Run Clay

LIVE TERRAIN

a valley where I can push the ground up with my cursor and everything on it resettles

Clay

2,200 props over a live height field

Open full size<br>Source

Run Harbor

DEPTH SORTINGBuilt by Codex

a harbor at dusk with tall masts and cranes, and a long jetty out over the water

Harbor

197 objects, one depth order

Open full size<br>Source

Run Wayfinding

FLOW FIELDBuilt by Codex

a crowded hall where I can close a gate and watch everyone find another way round

Wayfinding

640 walkers, one rebuild

Open full size<br>Source

Run Builder

PLACEMENTBuilt by Codex

a yard where I drop a workshop down and it tells me when it will not fit

Builder

1,444 yard tiles, 66 obstacles

Open full size<br>Source

Run Caverns

LIGHT POOLS

a cave lit only by scattered lanterns, with the pools of light overlapping

Caverns

704 light pools

Open full size<br>Source

Run Orbit

NO GROUNDBuilt by Codex

stations turning in space with stars behind them and no ground anywhere

Orbit

214 sorted objects, no ground

Open full size<br>Source

Run Replay

SEEDED REPLAYBuilt by Claude

a marsh I can record, wind back, and prove came out the same

Replay

1,081 ticks re-run in 1.5 ms

Open full size<br>Source

Run Terraces

ELEVATION...

source size open full lattice measured

Related Articles