Ashenfort

The end of the world, and a town

A gritty, top-down pixel city builder. The town builds itself.
You place the walls, raise the army and hold the line against the dead.

The trailer

Filmed by the game itself: nobody is playing. The music is the game's own.

The town builds itself

Build a town hall, set a town planner beside it, and step back. The villagers decide what the town needs - houses, farms, a mill, a brewery - mark the sites and build them, while newcomers arrive in waves. It grows faster than you can follow. That is the point.

Day 2: a town hall, a few tents and the first houses in a clearing Day 5: rows of houses south of the hall, paths trodden between them Day 10: a small town, farms at its edges, roads worn brown Day 18: the town in autumn, fields harvested, the forest turned orange
One town, the same view, its first eighteen days. Nobody is playing.

Walls by the mile

The defence is yours. Draw a wall as a line across the map: it bends where you bend it, seals itself against rock and water, and puts a gatehouse wherever a road crosses. Set towers on it, raise garrisons, and send companies of swordsmen and bowmen up the stairs to stand on the walkway.

A stone wall bowed across the east of the town, two towers on it, gatehouses where the roads crossOne line, drawn once: a wall across the east of the town, gatehouses where the roads cross it

The dead come in waves

Skeletons, armoured dead, giants that break walls. They rise at the edge of the map and march on the town in ranks, and every wave is bigger than the last. Hold them at the gate - or watch the houses burn.

A hundred and fifty of the dead in ranks on the open ground before the wall, three giants among themA hundred and fifty of the dead and three giants before the wall

A world that lives

Seasons turn, rain falls, snow settles and melts. Night comes and the fires are lit. And everything is carried: every log, loaf and arrow goes by hand, cart or horse to where it is used. Nothing teleports.

A new map every game

Extremely pixelated, on purpose

This is the game as you play it. Every pixel of the world is drawn on the processor, on every core you have, and the town is meant to grow until your machine is the limit.

The game with its interface: the town in autumn, the stores along the top, the build menu along the bottom, the map in the cornerThe game with its interface

Try the demo in your browser

The demo is the real game on one processor core: small towns, the small map, no sound, nothing saved.

Free and open source

Ashenfort is free, and its code is open under the MIT licence: play it, change it, build your own game on it. Do what you want with it.

There is nothing to download yet - that comes with the first release. Until then it builds from source, on Windows and Linux, x64 and ARM64:

git clone https://github.com/ErikTheHox/ashenfort
cd ashenfort
cargo run --release

Source on GitHub

How it was made

Ashenfort is written with Claude Code, by prompting. Every prompt is kept in the repository, from the first one on, and so is the count of what it took.

13
days
2,377
commits
79,000
lines of Rust
10.8 billion
tokens

As of 28 November 2026. The prompts: chat-history.txt. The count: token-usage.md.