The goal
The theme was Tiny, so the whole game fits on one 128 by 128 pixel screen. You hold a timber castle on a hill while raiders walk in along five lanes. You place palisades, watchtowers and mills, and after every wave you hold, each building is rebuilt one size bigger, from timber to stone.
In wave 10 the two villagers from the valley come up to the gate with the last raiders behind them. You can open the gate and take a strike to let them in, or keep it shut. That choice leads to three endings.
The question I asked after every playtest was "Do I want to see the castle rebuilt one size bigger before I stop?" It came back yes every time.
How it was built
The asset kit came first: the hill, the castle wall and gate, the three buildings in three sizes, the Castellan, the raiders, the ram crew and the villagers, all drawn in code with my own PICO-8-style engine and approved round by round. The game itself was nine code batches in one day, on a base template of mine from before the jam.
A castle bot played the ten waves in Node over forty seeded runs to set the balance. The starting purse was tested at 150, 175, 200 and 225 pennies, and 175 was the lowest that kept every run in range. I played every batch in Firefox.
- 17commits to v1.0.0
- 9art rounds, all drawn in code
- 88sound files
- 10waves to the gate




Two problems and their fixes
The story read as a plain defence
After each story batch I answered one question: what is this story about? After the fifth, my answer was "Defending your Castle." That is the goal on the surface. The villagers, who make the last wave a choice, were missing from it.
Fix: the villagers now live in a framed picture of the valley from wave 1, so you see them at home long before they reach the gate. Nine short story lines from the game's world bible run along the top. Two batches later my answer was "About protecting your castle and the villagers from raiders."
The tray hid a lane
On a 128 pixel screen every row counts. In play, the building tray covered the field's bottom lane, and the slot for a building you could not afford drew the building out of shape.
Fix: a new art round ran the tray's board to the screen edge and moved the valley into its own frame. A later round shows an unaffordable building whole on a closed shelf, and a refused pick blinks the slot red.
Two smaller fixes came from the same plays. The 3 by 5 pixel W read like an H in "WAVE", so the counter uses a 5 pixel W. A text shadow blurred the titles in Credits and Settings, so it was dropped.
Art and sound
Everything sits on one 128 by 128 screen in the sixteen PICO-8 colours and is drawn pixel by pixel in code. The screen only scales by whole steps, so the itch frame is 650 pixels square to land on five times. The style's dusk colours turned mail and a white headscarf into bare skin, so wave 10's evening is a sunset sky over figures in their day colours.




The sound is an 8-bit chiptune set synthesised in code, 88 files in all, and I approved it by ear. The music grows with the castle: the arpeggio joins after wave 3, the lead after wave 6 and the full drums after wave 9, each on the next bar after a rebuild. The drums drop out in the calm between waves, and each ending has its own short tag, then silence.
The result
Motte and Bailey placed 1st of 2 entries at miwale Weekly AI Game Jam #1, the jam's first week, from 2 ratings. It placed 1st in all six categories, with full marks for Creativity and Use of AI. Full results ↗
"the idea that your fort grows a bit bigger every wave you survive is really cool and fits "tiny" perfectly."
The jam's host on the jam page
How AI was used
I made Motte and Bailey with Claude, Anthropic's AI assistant. Claude worked out the concept cards and the world bible with me, drew every sprite in code with my engine, composed the sound in code and wrote the game's code in nine batches, each from a brief I approved. I chose the idea and the style, approved every art round, every story line and the sound, played every batch in Firefox and gave the notes behind each fix.
No image or audio generator was used. The lettering is the engine's own pixel font. The PICO-8-style engine is my own tooling, built with Claude before the jam.
