Skip to content

Latest commit

 

History

History
 
 

Procedural Dungeon Generator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Procedural Dungeon Generator

This script generates random dungeon layouts for a text-based adventure game. It creates diverse dungeon layouts with various room types, connections, obstacles, enemies, treasures, and traps to enhance gameplay.

Features

  • Generates multiple dungeon levels.
  • Creates random room layouts with different sizes and shapes.
  • Adds corridors to connect rooms in the dungeon.
  • Places doors, enemies, treasures, and traps to add gameplay elements.
  • Provides flexibility for adding more room types, interactive elements, and features.

Usage

  1. Make sure you have Python (3.x) installed on your system.

  2. Clone this repository and run the script

python dungeon_generator.py
  1. The script will generate and display the dungeons with various features and levels.

Customization

You can customize the script by adjusting parameters and adding more room types, enemies, treasures, traps, and other features. Feel free to explore the code and modify it according to your game's requirements.

Contributing

Contributions are welcome! If you have any improvements, bug fixes, or new features to add, please create a pull request. For major changes, it's recommended to open an issue first to discuss your ideas.