JQ Joël Quenneville Joël Quenneville Software developer at thoughtbot who works in Ruby on Rails, writing and speaking about domain modeling, value objects, code review and testing.

“One thing I have found really useful is having it build effectively dev tooling for itself… a script that allows it to run fights between ships deterministically, so it's not burning tokens on that. And then I have it do that across a bunch of permutations, like 2,000 fights, to see what works and what doesn't. That's a little bit of a self-balancing thing.”

The Bike Shed · Hands-On Engineering Podcasts · November 2026

“One thing I have found really useful is having it build effectively dev tooling for itself… a script that allows it to run fights between ships deterministically, so it's not burning tokens on that. And then I have it do that across a bunch of permutations, like 2,000 fights, to see what works and what doesn't. That's a little bit of a self-balancing thing.” — Joël Quenneville, The Bike Shed

Context

Joël Quenneville is building a naval combat game with an LLM and trying not to micromanage it. His main trick is to have the model write its own simulation harness so it can test game balance cheaply.

Transcript

The Bike Shed Around 06:26 into the episode
Joël Quenneville

…bit of an experiment to see: can I, to a certain extent, step back? Where do I need to sort of go like really sort of more engineering and dig into some details? And where do I need to sort of step back and say, let it make its own decisions and I guide it with what I want more outcome driven.

Aji Slater

And how have you found that approach?

Joël Quenneville

It's hard. I really want to jump into the details. One thing that I have found that's really useful is having it build effectively dev tooling for itself.

Aji Slater

Oh, interesting.

Joël Quenneville

So one of the things I have it do is effectively create a script that allows it to run fights between ships deterministically. So it's not burning tokens on that. And then I have it do that across a bunch of permutations. So it runs like 2,000 fights or something from various combinations to see…

Aji Slater

And you say you wanted the like individual ship management to be a focus of the gameplay. Like, how much experience do you have with sailing and ship management?

Speaker names come from our own diarization. The position is estimated from where the line sits in the episode.