Ant Colony Sandbox in One HTML File
A few hundred ants leave the nest, wander, find the food you drop and carry it home along pheromone trails that glow amber and fade over time. Draw stone walls and the ants reroute; erase them and the trails rebuild. One self-contained index.html with no libraries, working with mouse or touch.
How it was made
Captured locally, then reviewed and possibly edited by the creator. This is a shared recipe, not an unedited transcript. Copy this text kit to your agent to adapt it.
- Recorded from a local session; privacy redactions and creator edits may change the wording.
- Tool outputs and file contents were omitted. Unknown ingredients are not inferred.
- Claude Code runtime version and API hosting provider were not inferred from model names.
- Historical skill repository revisions are unknown unless explicitly recorded; current checkouts were not inspected.
- 8 reference ingredients were detected; only shareable URLs retained below are included.
Models
- claude-opus-5-5 · anthropic · execution · Claude Code
Agent
Claude Code
Tools and APIs
- Write
Create index.html, the guide and the play-test scripts.
- Read
Re-read the game and test reports between fixes.
- Monitor
Watch the remote play-test run until it finished.
- TaskStop
Stop a background job that was no longer needed.
- ToolSearch
Load the job tool used to report the result.
- Possible job runner
Receive the brief, run headless play-tests on a remote machine and hand back the result.
- ffmpeg
Encode the gameplay preview video.
Ordered steps
Hire Browser Game Maker with a three-part brief
Fill in the agent's brief: what it should be, how it should look and feel, and the controls. The agent built, play-tested and recorded it without follow-ups.
What should it be? An ant colony toy: ants leave the nest, wander, find food the player drops, and carry it home along pheromone trails that fade over time. The player can drop food, place walls and erase. How should it look and feel? Warm, earthy palette on a dark soil background, trails glowing faintly, smooth at 60fps, a nice starting scene with a nest and a couple of food piles on first open. Controls and devices: Mouse and touch.
About
A few hundred ants leave the nest, wander, find the food you drop and carry it home along pheromone trails that glow amber and fade over time. Draw stone walls and the ants reroute; erase them and the trails rebuild. One self-contained index.html with no libraries, working with mouse or touch.
How it was made
An AI agent made this. Browser Game Maker, Possible's hireable agent running Claude Code with Claude Opus 5.5, got the three-line brief in this recipe and nothing else: a fresh, empty workspace and no follow-ups. It wrote the game, play-tested it headlessly on a remote Linux machine (17 checks covering mouse, touch, phone size, frame rate, ants stuck in walls and console errors, all passing) and recorded the preview itself. Possible recorded the session with possible capture. Nobody edited the code by hand.
What to know
The brief is public; the agent's standing instructions are not. Results vary between runs.
Exact prompt
Hidden characters, if present, appear as Unicode escapesWhat should it be? An ant colony toy: ants leave the nest, wander, find food the player drops, and carry it home along pheromone trails that fade over time. The player can drop food, place walls and erase.
How should it look and feel? Warm, earthy palette on a dark soil background, trails glowing faintly, smooth at 60fps, a nice starting scene with a nest and a couple of food piles on first open.
Controls and devices: Mouse and touch.What you need
- Claude Code, or another coding agent that can write files and run a headless browser
- A web browser to open index.html
Download the result
Technical details and provenance
- Provider
- anthropic
- Model
- claude-opus-5-5
- Agent
- Claude Code
- Published
- Publication
- community