Playground
AI vs. The Lease Trap
A browser arcade game I built the night before a two-day AI workshop for solicitors.

Play the gameWatch it play itself
It runs in Chrome, Edge, Firefox or Safari. On a phone, turn it sideways.
Why I made this
I was about to run a two-day AI workshop with a group of solicitors. The night before, I decided I'd build them a game, just to show them what can be created with AI now.
For the workshop I'd written a scenario: Ballyfintan Roast & Brew Ltd. v. Vale Property Developments Ltd., a small coffee business about to sign a commercial lease that's full of traps. The solicitors had to find the problems in that lease. The game is built on the same scenario, so the enemies are the same clauses they'd spend the workshop pulling apart.
The night-before build took around 60 minutes of wall-clock time, and my own time was probably just over 10 minutes of that. The rest was Claude Code building what I asked it to build, while I looked at the result and asked for the next change. I think that ratio is the most important part of the story.

How it came together
The night before, about 1:50 to 2:45am.
- The first version: a working canvas game with seven clause enemies and a draft-lease boss.
- Proper sound, with music that adds layers as you power up and a faster, darker loop for the boss.
- Bureaucrats: clear, easy-to-destroy bad guys who walk in along the road and go down in one hit or a stomp.
- Arthur: I asked for an Arthur Dent-style local Irish solicitor, and the robot sprite became a rumpled man in a tweed jacket with a mug of tea, a towel and a glowing tablet.
- The town: a painted Irish main street in the style of Kinsale or Westport, with slate roofs, gilded shopfronts, bunting and a mountain behind.
- Hitchhiker's Guide sound effects.
The next morning, about 8:30 to 9:15am.
- A self-playing demo mode, so the game could run on a screen in the room as a backdrop, with a QR code so people could play on their phones.
- Scaling fixes so the text stayed readable on a big projector.
- Arthur's ammunition became tumbling sealed envelopes with red wax seals.
The legal detail is real
The jokes are cheesy, but the technical details of the lease are pretty accurate. The seven clause enemies come straight from the workshop scenario: an upward-only rent review, a pub-only permitted use clause on a coffee shop, a ban on alterations, full repairing and insuring scope, historic rates arrears, a brittle break option and defective wording on renewal rights.
Each clause you destroy unlocks a "Solicitor Deep Cut", which goes further into the weeds. The humour and the law are compressed for entertainment. It's a training game, not legal advice.

Arthur Dunne, and a certain hitchhiker
The scenario reminded me of Arthur Dent, lying in the mud in front of a bulldozer because the plans for his house's demolition had been on display in a locked filing cabinet in a disused lavatory. I'm a big fan of Douglas Adams, so the game is full of him.
Arthur Dunne carries a towel. When his caffeine runs low the game tells you DON'T PANIC. Before the boss, a Vogon Constructor ship crosses the sky with a planning announcement for the people of Ballyfintan.

Then I took the town into 3D
The same street became a short film: Ballyfintan at dusk.
Built with Claude Code.