StrategyFull librarytile placingpuzzlediorama
Hex Realm
Place forests, fields, houses and mills so that neighbours score. Reach score goals to earn more tiles and keep the island growing.
Play the demo
What the prompt builds
- Hexagon grid with neighbour scoring
- Score previews that teach the rules
- Tiles that drop in and come alive
- A day and night cycle
Tested with Claude Code (Claude Opus 5.5) on 17 November 2026. The demo is what it built, hosted here with Three.js served from this site.
The prompt
Full libraryBuild a small 3D browser game called **Hex Realm**: place hexagon tiles to grow a tiny island kingdom and score by what touches what.
## The game
- The game starts with one grass tile in an empty sea. The player holds a stack of 30 tiles and sees the next three.
- Tile kinds: grass, forest, wheat field, house, water mill, mountain. Each scores by its neighbours: houses like forests and fields, mills want water on one side and fields on the others, forests score for each forest they join, mountains block.
- A tile can be placed on any empty cell that touches the island. Valid cells show as faint outlines; the cell under the pointer shows the score it would give.
- Reaching score goals gives more tiles (and says so), so a good player plays on. The game ends when the stack is empty: final score, best score, and "New island".
- Q and E turn the tile before placing, which matters for the mill.
This is the first part of the prompt. The rest (controls, look, feel and the tech rules that make it run well) is in the full library.
The full library is not open yet
9 more prompts like this one, each with its demo. Leave your address and we will write once, when it opens. The 3 free prompts stay free.
How to use it
- Open an empty folder in Claude Code, Cursor, Codex or another coding agent that can write files.
- Paste the whole prompt and let the agent work until it says it is done.
- Open index.html through a local server (for example npx serve) and play. Ask for changes in plain words.


