AI roguelike generator: generating the generator
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 already generate their own levels. What you actually want is help writing that generator, and that is the part Flockbay does.
Two different meanings of generate
Search for a roguelike generator and you get two categories of result. One is a tool that spits out a finished small game from a prompt. The other is a level generator, a dungeon layout algorithm, the thing that runs inside the game every time a player starts a run.
The second one is the interesting problem, and it is the one worth being clear about. A roguelike is defined by its generator. Two games with identical art and identical combat are different games if one assembles floors well and the other does not. So the useful help is not a machine that hands you a game. It is a machine that helps you write and rewrite the algorithm that makes the game different every time.
How Flockbay handles it
Flockbay writes GDScript into your Godot project, including the generation code. You can describe the shape you want in plain terms: floors that branch twice, a guaranteed shop by the fourth room, dead ends that are always worth walking down, an escalation curve that does not spike.
You then play runs. Twenty of them, quickly. If the layouts feel repetitive, or the shop always lands too late, you say so and the algorithm changes. Tuning a generator is an empirical exercise and there is no substitute for playing the output, which is why the app is built around making that cheap.
The code lives in your project on disk and you own it. Reading it is optional.
The material the generator uses
Every good procedural game is assembling something. Rooms, corridor pieces, arena chunks, terrain regions. Those pieces are hand-built by you in the builder, and their quality sets the ceiling on the generated result. Assembly cannot rescue bland parts.
That is why the builder is a hands-on level editor rather than a text box. What you are placing depends on the answer you gave when the project was made, since making one asks 2D or 3D with no default. The classic form of this genre is top-down and flat, and a flat room is painted: you drag to lay ground and drag to erase it, the tiles and the edges and the collision all fall out of which cells are ground, and the barrels, doors and stairs go on top as pictures at an exact position, turn and size. In a 3D project you are placing terrain, water, weather and props instead.
Either way the generator is fed something a person cared about. It is also more fun than describing a room in a sentence.
More on this: AI RPG generator: what generation is good for, and what it is not
Practical details
Flockbay is a desktop application for Windows. It is downloaded and installed, and it bundles Godot so the game runs locally on your own machine rather than streaming from anywhere.
You need an internet connection to build: the model, asset generation and world data all come over the network. You do not need one to play what you built. There is no browser version.
It is free to download, and building by hand costs nothing. Flockbay is free on your own AI: your Claude or ChatGPT plan, your own agent, or an API key. Flockbay builds from a library of ready-made objects, or with Godot's own shapes.
A sensible way to start
Build one room that you like. Then get a generator producing floors from ten variations of it, and play until you can tell which variation you are in without looking at the map. That single exercise teaches you more about your game than a month of planning.
Add systems after the floor feels good. A roguelike with a strong floor and three items is a game. A roguelike with fifty items and a weak floor is a spreadsheet.
More on this: Godot roguelike templates: an example, a tutorial, and the part neither one covers
Variety is a rule, not a random number
The instinct when runs feel samey is to add more randomness. It rarely works. Randomness without structure produces runs that differ in their details and feel identical in their shape, because the player is still making the same decisions at the same moments.
What actually creates variety is a rule that changes the decision. An item found early that makes a whole build viable. A floor modifier that makes your usual approach a bad idea. A branch where taking the harder route pays. Those are structural, and they are what people mean when they say a roguelike has depth.
So when the runs blur, the useful request is not more variation. It is a mechanic that forces a different plan, which is a design change rather than a dial. Those are cheap to try here, which is the argument for trying several.
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
- Does it generate a complete roguelike from a prompt?
- No. It generates the code and helps produce assets. The pieces the generator assembles, and the judgement about whether runs feel good, come from you.
- Can I control the generation algorithm?
- Yes, by describing what you want changed and playing the result. The generator is ordinary GDScript in your project, so it is fully open to you.
- Is it a browser tool?
- No. It is a desktop app for Windows with Godot bundled. The game runs locally.
- What if I want permadeath plus meta progression?
- Both are rules and both are normal requests. There is no supported-features list to check against.
- How much does it cost?
- Free to download, and the builder stays free. Flockbay is free on your own AI: your Claude or ChatGPT plan, your own agent, or an API key.
- My runs feel identical. What now?
- Adding randomness usually will not help. Look for a rule that changes what the player decides rather than what they see.
Related
Free to download for Windows. Write the generator by playing its output.
Download Flockbay free