Roguelike game maker: the run is a system, and systems are code

By Eduardo Orellana · Updated

Flockbay is free on your own Claude or ChatGPT plan. Claude Pro or Max, or ChatGPT Plus or higher, builds a real Godot project in the Godot editor. Claude Free and ChatGPT Free do not run here. More models are optional, a credit reload at API prices. Windows today. The engine is the official Godot release. Roguelikes are the genre where almost everything interesting is a rule interacting with another rule. That makes them expensive to prototype by hand and unusually well suited to having the code written for you.

The genre is made of interactions

A roguelike is not a level you build, it is a set of rules that produce levels, plus a set of items that modify the rules, plus a difficulty curve that responds to how the run is going. Nothing about that is visual. It is all systems talking to each other.

Which is why roguelikes are slow to prototype conventionally. Every idea for an item is a code change, every generation tweak is a code change, and most of them turn out to be bad. The genre rewards testing a hundred ideas and keeping eight.

Flockbay writes those changes as GDScript in your project. You describe the item, the generation rule, the enemy modifier, and you play a run. Then another. The cost of trying a bad idea drops to the length of one run.

More on this: AI card game generator: the rules engine is the game

Procedural generation is a design, not a button

Random is easy and boring. What makes generation good is constraint: rooms that connect in a readable way, a guaranteed route to the exit, encounters spaced so you get to breathe, a shop that shows up often enough to plan around.

Those constraints are yours to specify, and specifying them well takes playing a lot of generated runs and noticing what keeps going wrong. Too many dead ends. The good item always comes too late. The third floor is always easier than the second.

You feed those observations back as rules. That is the actual craft of the genre and it is not something a tool can do for you, no matter who is writing the code.

Where the handmade part comes in

Even a generated game has handmade pieces: the hub you return to, the boss arena, the set of room templates the generator arranges. Those you build directly in the builder, with manual controls, on a Windows desktop, in whichever kind of world you picked when the project was created.

The look of the place is also yours. In a 3D dungeon that means terrain, water, weather and lighting set by hand; in a flat one it means the ground you paint, the band of scenery behind it and the sprites standing on it. Either way it matters more than it sounds for a game people will see a hundred times. A generated world that always looks the same colour gets tiring fast.

More on this: AI strategy generator: generating scenarios, not verdicts

Balance is a lot of playing

You will play more runs of your own roguelike than of anything else you make, and you will still be wrong about the balance, because you are the person who knows every rule.

Getting builds in front of other people early is the only reliable correction. The game is a real build running locally on the bundled Godot, so handing it over is a normal thing to do rather than a publishing event.

More on this: Godot roguelike templates: an example, a tutorial, and the part neither one covers

The details

Desktop app for Windows, free to download, Godot inside it, games running locally on your machine. Building needs an internet connection; playing what you built does not.

The builder is free. Flockbay is free on your own AI: your Claude or ChatGPT plan, your own agent, or an API key. Worth knowing for this genre in particular, since iterating on rules leans hard on Flockbay.

Getting the feel of a run right

Length first. A run that takes forty minutes and ends badly through no fault of yours is infuriating; one that takes eight minutes is forgiven anything. Pick a target length early because almost every other balance decision hangs off it.

Then the shape of a loss. The best roguelikes make you feel that you understand what went wrong, which is a design property rather than an accident. If your testers shrug when they die, the run is not communicating.

Both of those are judgements made by playing, which is the part of this genre no amount of written code shortens. What the tool changes is that acting on the judgement takes minutes instead of an evening.

A starting project for this is the action and fighting game templates. The design note that goes with it is what a roguelike keeps between runs.

Questions

Is dungeon generation built in?
There is no fixed generator to switch on. The generation rules are written to your specification, which is what lets your game generate something other than the standard rooms-and-corridors.
Can I make a traditional turn-based roguelike?
Yes. A project is 2D or 3D from the moment you create it, and a top-down grid roguelike is squarely the flat case: paint the rooms and corridors as tile ground, drop sprites from the Catalogue into them, and declare no gravity, at which point the body steers on both axes and there is nothing to jump away from. The turn structure is rules like any other, written by Flockbay.
How do permadeath and meta-progression work?
They are rules like any other. Describe what carries between runs and Flockbay writes it.
Do I need to understand the code?
No. You need to play a lot of runs and be specific about what is not working.
What does it cost?
Free download and free plan. Flockbay is free on your own AI: your Claude or ChatGPT plan, your own agent, or an API key.