In the recording, the rat doesn’t move. Robert Annett, a Wizard in We Slay Monsters, uses a Disguise Kit, walks two squares south, and rescues Egbert. In the animated short, Robert turns into a cow in a puff of smoke and the rat takes a deliberate step back. Same rescue. The rat has a slightly bigger part.

We first released We Slay Monsters in 2017. It’s a turn-based dungeon crawler where poker hands double as attacks, recruits can die for good, and whatever gold makes it home can help the next recruit. We’re rebuilding it in Godot, keeping the card combat and the Academy while making the interface easier to read. It’s the same game, not a sequel.

Quill came out of that rebuild. I built a server using MCP (Model Context Protocol) so a language model could play the work-in-progress Godot build and leave me a record for debugging and balancing the game. How many card plays did it take to put down the boss goat? How low did the recruit’s health get before they drank a potion? One run wouldn’t tell me whether the goat was balanced, but it would give me something concrete to investigate.

Then I realized the runs were fun to follow. The same log that let me count hits on a boss had the setup for a joke: nine damaging card plays for the goat, two steps for the rat. That’s how a playtest tool became a way to show people what playing the game feels like. Quill McLlm chooses the moves and writes the dispatches. The recruits do the fighting.

You can read the result in Quill’s first dungeon dispatch, The Last Rat Wasn’t a Fight.

Step 272: What the model gets to see

I wanted the model to make the same kinds of calls a player makes: play the pair, drink the potion, try the door, or back out and reconsider the door. I didn’t need it to figure out where to click.

Quill gets structured data: the objective, the recruit’s hand and health, explored tiles, visible creatures, and a list of offered actions. An attack option already names the cards and the target. A door is an invitation to try it, not a promise that it’s unlocked. A loot bag is visible; its contents aren’t. Even the action list has to respect the fog of war: when the square ahead is unexplored, the game can offer “try moving” without telling Quill whether there’s a wall waiting for him.

Here’s a trimmed JSON excerpt from the actual response at step 272. The long prefix in each action ID identifies this game session. I’ve left the IDs intact so you can see the same one on both sides of the call.

{
  "step": 272,
  "observation": {
    "objective": "Rescue Egbert the Wise",
    "hero": {"position": [40, 26]},
    "monsters": [
      {"name": "Giant Rat", "position": [38, 27], "hp": 112},
      {"name": "Egbert The Wise", "position": [40, 29]}
    ]
  },
  "actions": [
    {
      "id": "0e11f567f337457e87ea98bedf6f4493:272:2",
      "type": "move",
      "description": "Move South",
      "position": [40, 27]
    },
    {
      "id": "0e11f567f337457e87ea98bedf6f4493:272:8",
      "type": "item",
      "description": "Disguise Kit: Disguise yourself for 3 turns to get away from monsters"
    }
  ]
}

Step 273: From a tool call to a game action

OpenCode talks to the local Python MCP server. The server handles tool calls and journaling; it doesn’t choose a model or make model API calls. On the game side, it talks to a C# bridge in the Godot development build over standard input and output, one JSON message per line. The model can call observe to see the current state or act to choose one of the offered actions and get back the next observation.

These are the actual arguments Quill sent to act:

{
  "action_id": "0e11f567f337457e87ea98bedf6f4493:272:8",
  "decision": {
    "situation": "The rat is closing in and Egbert is three tiles south.",
    "rationale": "Use the disguise to approach without a fight."
  }
}

Python writes the decision to the journal before sending the action to Godot. Only the ID crosses into the game. The message on that side looks like this:

{"protocol":"wsm-agent/1","op":"act","action":"0e11f567f337457e87ea98bedf6f4493:272:8"}

The C# bridge looks up the ID in its current list and runs the attached action through the same item handler the game already uses. It doesn’t ask the model to describe what the kit does, and there’s no second set of game rules in Python. Before offering another choice, the rendered bridge waits for the relevant movement, combat, and UI to settle. Otherwise Quill could get a list of moves while a monster is still moving or just before a reward panel takes over.

The IDs encode the session, step, and choice index. After an accepted action, Godot rebuilds the list for the new step. For example, :272:8 selected the Disguise Kit, but :273:8 meant End turn. Godot rejects the old ID rather than applying the new action at index 8.

What the journal proves

After Quill used the kit, Annett was still at [40, 26]. The rat was still at [38, 27] with 112 HP. The next two accepted actions moved Annett south to [40, 28]; the rat’s position and HP stayed the same. At step 276, the game recorded the rescue as a win.

That’s why I keep the decision and outcome separate in actions.jsonl. “Use the disguise to approach without a fight” is Quill’s stated intent. The coordinates and the win are what the game reported back. The log doesn’t tell me the rat was distracted, just that it didn’t move. It also distinguishes an accepted step from a game turn: step 276 was the rescue confirmation, not the 276th turn. The scorecard recorded 201 turns.

The same distinction helps with balance. A card play’s offered damage is a preview; resolved damage can differ. If I want to know how many card plays actually damaged the goat, I count the recorded results, not the numbers next to the choices Quill was offered.

Teaching it when not to make a joke

There are two prompts. The one for playing asks for a brief, plain explanation of the move, with a separate, optional field for snark. Here’s the actual act example from the prompt, formatted for readability. It’s an example, not a line from a run:

{
  "action_id": "<current offered id>",
  "decision": {
    "situation": "A 22 HP Ghoul Snail blocks the corridor; I have 36/50 HP.",
    "rationale": "Use Sword Jab to damage it and apply bleeding while preserving my pair.",
    "field_notes": "The corridor has appointed a snail as its bouncer."
  }
}

The explanation and the bouncer joke go in the journal, in separate fields. There’s no requirement to come up with another joke when the next move is just walking south.

For moments worth a longer update, narrate saves the commentary at the current step. It can also grab a PNG from the game’s viewport without spending a turn. That gives me a journal with the chosen moves, the results, and Quill’s remarks kept distinct. I can tell what the game recorded, what Quill said about it at the time, and what a still image actually shows.

The second prompt comes out after the run. It gives Quill a byline—Quill McLlm, Dungeon Correspondent—and asks him to get a little ahead of himself, then let a specific result puncture the boast. My favorite rule comes at the end of the voice notes:

In revision, cut any joke that could fit any dungeon run. Keep the ones that only work because of what happened here.

The same prompt tells Quill how to handle the record:

Quote live commentary only verbatim and label it as such. The rest is retrospective prose, not reconstructed live dialogue.

If the recruit is in real trouble, write plainly and save the joke for later. Give the recruit credit. And if a damage preview and the result disagree, print the result.

There’s an optional closing habit in the prompt, too: put something on the record that makes Quill look a little less competent than the headline suggests. The wording can change. The willingness to print a correction is the part I wanted to keep.

Giving Quill a voice

The journal gave me the sequence for the short, but it didn’t give me footage. The screenshots are individual frames, and none captures the disguise or rescue confirmation. I used the four recorded actions as the outline for a scene, not as instructions for replaying the game.

So Two Steps Past a Rat is an animated reenactment, not gameplay footage. I used a separate portrait scene in Godot and kept Robert, the rat, and Egbert’s cage in the same frame. The cow, the puff, and the rat giving ground are staging choices. There’s a pause after the transformation so you can see the rat make room before Quill says, “Apparently, cows don’t need a visitor’s pass.” The gag has to work on a phone with the sound off, too.

Quill’s speaking voice comes from Kokoro-82M, a separate text-to-speech model. I run it locally on the CPU with its British English voice bm_george at 0.9× speed. Kokoro reads the scripted lines; it doesn’t improvise them or play the game.

The episode file keeps the voice settings alongside the source run and the caption timings. I generate one 24 kHz mono WAV per cue. The script reuses unchanged clips and checks that each one fits its allotted time before replacing any files. For the visitor’s-pass line, I trim 500 milliseconds of trailing padding so the cage opens and the music comes in just after the punchline.

Godot’s Movie Maker records the scene at 30 frames per second; FFmpeg makes the MP4 previews, and ffprobe checks the dimensions, frame count, and audio streams. There’s a voiced cut and a muted cut. The rat gives exactly the same performance in both.

That’s the part I like best about making these. I can go back to the record and see exactly what Quill chose, then decide how to tell it. The rat gets a little creative license. Quill still has to show his work.