AI roguelike generator: generating the generator
Roguelikes already generate their own levels. What you actually want is help writing that generator, and that is the part Flockbay does. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. It runs on Windows, macOS and Linux, on the official Godot engine.
The main page on this subject is Roguelike game maker: the run is a system, and systems are code.
AppImage, x86_64. Ubuntu 22.04, Debian 12, Fedora 39 or newer.
Intel or AMD Chromebook, with Linux turned on.
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 generator is only as good as the rooms it assembles
Every good procedural game is assembling something. Rooms, corridor pieces, arena chunks, terrain regions. Their quality sets the ceiling on the generated result. Assembly cannot rescue bland parts.
Flockbay builds those pieces as real Godot scenes, from the brief you approved. The classic form of this genre is top-down and flat, and a flat room is a TileMapLayer: Flockbay paints the cells, its TileSet's terrains give the edges and the collision, and the barrels, doors and stairs go on top as sprites at an exact position, rotation and scale. In a 3D project it builds 3D rooms and places props instead, with terrain or water from a Godot plugin when the dungeon needs them.
Then you walk the room and judge it. When a doorway is one cell off, say so, or fix it yourself: the room is an ordinary Godot scene, and Godot's undo takes a change back. Either way the generator is fed something a person cared about.
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, macOS and Linux. 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 and asset generation 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 free to use. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building. Flockbay builds from a library of ready-made objects, or with Godot's own shapes.
More on this: AI strategy generator: generating scenarios, not verdicts
A sensible way to start
Start with one room that you like: Flockbay builds it, you play it, and you say what is wrong until it is right. 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.
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.
More on this: A strategy game maker, and an honest note about the genre
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?
- Not from one prompt. It asks what you want, writes a brief, and builds once you approve it: the rooms, the generator code, the items. The judgement about whether runs feel good comes from you, by playing them.
- 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, macOS and Linux 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 free to use. Free AI to start: Flockbay's AI and your own Claude, ChatGPT, agent or API key are free for your first build; after that, a plan keeps you building.
- 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.
Free to download for Windows, macOS and Linux. Write the generator by playing its output.
Download Flockbay free