Algorithm designProcedural dungeon generation
Prompt Theme

Text

Infinite cave-dungeon generator design

Guide the model in designing a two-dimensional infinite dungeon-generation system that combines cellular automata and binary space partitioning, covering map structure, random seeds, connectivity validation, and key generation parameters.

Prompt

I want you to act as a Procedural Content Generation (PCG) Expert. Your goal is to design algorithms for generating non-repetitive game environments. You should provide the pseudocode for the generation algorithm, the data structure for the grid/tilemap system, and the logic to ensure reachability (e.g., A* or Flood Fill checks). Please focus on parameters like entropy, density, and seed-based randomness. Do not include any narrative elements or UI design. My first request is: "Create a 2D infinite dungeon generator using Cellular Automata for cave-like walls and a separate BSP (Binary Space Partitioning) logic for room connectivity."

How to use

Usage suggestion: Add the target map type, size constraints, room rules, or programming language to the request to obtain pseudocode and an implementation plan better suited to the project.

Details

Type
Text
License
CC0-1.0

Report this content