Writing · Side project

Just Bleat It: A goat, an arcade, and the same game inside it

Thirteen messages, three pull requests and an arcade that goes five goats deep. What worked, what broke, and how I prompted.

There is a barn on a farm, and in the barn is an arcade cabinet. Sit your goat down at it and the screen shows the game you are already playing. That goat can walk into the barn and sit down too. It stops at five goats.

A white goat seen from behind, sitting at a blue arcade cabinet in a red barn. The cabinet's screen shows the same goat at the same cabinet, whose screen shows it again, and the smallest screen shows a goat standing on a farm.
Three goats deep. The farm in the smallest screen is the one you are steering.

01The idea

The whole brief was one message:

I want to make a game
You are a goat and you need to be able to play goat simulator

You are in a 3d environment
You can sit down
You can play the game

This needs to be of a high quality and well thought out, playable and rendered well, 3d models

Claude said it wouldn't copy Goat Simulator. It would build its own game of the same kind: a goat, a farm and things to knock over. It called it Hooligoat, and I let that stand for most of the evening.

The first build had a barn, a pond, a trampoline, a ramp, a tower of hay bales, six chickens and a to-do list of nine bad ideas. You could headbutt crates, eat twelve golden tin cans and sit down like a dog.

I asked for 3D models. There are no model files. The goat, the barn and the tractor are all put together in code from simple shapes, and the sounds are made in the browser too. The bleat is a sawtooth wave with a wobble on it.

One line of my brief was vague: "You can play the game". Claude read it as a game inside the game and put a side-scroller called Hop Goat in the barn. More on that in section 04.

02Eight words about the graphics

The first version worked and looked like a first version: flat colours, a blocky goat and a few cones for grass.

We need to up level the graphics considerably

I didn't say what to change. Claude chose:

The first version of the farm: a blocky white goat on flat green ground with a few cone-shaped tufts of grass, a red barn, crates and a pale grey sky.Before
The same view after the graphics pass: thick grass, a dirt path, long evening shadows, a blue sky over grey mountains and a smoother goat.After
Same farm, same spot, one message apart.

03Off the artefact, onto the site

Up to here the game lived in a Claude artefact, which only I could open.

Let's make this not an artefact and something shareable

My site has a security policy that blocks scripts written into a page and scripts loaded from anywhere else. The game was one file doing both. Claude split it into a page and a script, put a copy of the 3D library on the site, and left the policy alone.

Then the sound:

Sound also not working

Phones only let a page make noise after a tap, and an iPhone on silent mutes a web game. Claude changed how the sound starts and told me plainly what it could and couldn't check. It could see the audio was running. It couldn't hear it.

04The arcade plays itself

Hop Goat was fine. It wasn't what I meant.

Make it that the goat can play the same game the user is playing when it goes to the arcade... meta

The first version of the arcade: a blocky goat sits at a cabinet labelled Hop Goat, showing a pixel-art goat running along a green strip under a striped sunset.What I got
The current arcade: the goat sits at the cabinet and the screen shows the 3D farm, with a second goat standing on the path.What I meant
Hop Goat lasted four messages.

Now when you sit down, your goat stays on the cushion and a second goat appears on the farm. You steer that one. The farm is drawn onto the cabinet's screen, and your score and to-do list carry on counting.

Two messages later I wanted more.

Can the goat playing on the arcade go into the arcade again and play the goat so human paying the goat playing goat playing goat ?

Yes. The goat on the screen can walk back into the barn, find a goat already sitting at the cabinet, and sit down anyway. Each level draws the one below it onto the screen:

The barn has no grass in it, so the extra levels are cheap to draw. Claude capped it at five to protect the frame rate anyway. At the fifth cabinet the game says the barn cannot hold any more goats. Esc climbs out one goat at a time.

05The name

Think the name can be much better tho

Claude agreed that Hooligoat was a placeholder and offered six. Its pick was Goats All the Way Down. The others were The Goat, Goat Plays Goat, Scapegoat, Kid and Bleat.

What about Just Bleat It

The rename moved the address, so the old one redirects. It also makes the Baa button the title of the game, which is more than it deserves.

13messages from me, in one evening
3pull requests to get it live and named
5goats deep, at most
0lines of code I typed

06What went wrong

What happenedWhat it took
The first mountains came out about 400 metres tall and filled the sky with greyClaude saw it in its own screenshot and capped them
The arcade got a side-scroller I hadn't asked forOne message saying what I meant. My brief was the vague part
The sound wasn't workingA change to how sound starts, and a straight answer about what couldn't be tested
My site blocks the way the game was first put togetherSplitting it into files and hosting the 3D library on the site. No security settings changed
The machine Claude tests on has no graphics card, so the game crawled thereIt said the real frame rate was never measured, and gave phones fewer blades of grass and smaller shadows to be safe
After the first merge, Claude tried to rewrite the branch's history and was blockedIt merged the live site into the branch instead and settled the one clash by hand
Score pop-ups would land in the wrong place when you play on the cabinetThey are hidden while you are sitting down. The score still counts

07How I prompted

Every message I sent, in order. The first is the longest.

I want to make a game
You are a goat and you need to be able to play goat simulator

You are in a 3d environment
You can sit down
You can play the game

This needs to be of a high quality and well thought out, playable and rendered well, 3d models

We need to up level the graphics considerably

Let's make this not an artefact and something shareable

Sound also not working

Make it that the goat can play the same game the user is playing when it goes to the arcade... meta

Merge

Can the goat playing on the arcade go into the arcade again and play the goat so human paying the goat playing goat playing goat ?

Yes

Add it to the side projects page

Think the name can be much better tho

What about Just Bleat It

Yes merge

Write the how I built it write-up

That is all thirteen. What I'd take from it:

Let the goat out ↗

Built with Claude Code. 3D by three.js (MIT licence). Type in the game is Lilita One and Nunito (SIL Open Font Licence). Not affiliated with Goat Simulator or its makers.