Skip to main content

Roguelike world generation library

Project description

Urizen is the roguelike dungeon generation library written on Python3. It has various algorithms that can be used to generate maps on scale of single rooms to the whole world.

Note: This project is on early stage of development. It can contain bugs, API breaking changes and lack of documentation.


  • Two main collections - generators and visualizers - that can be used in any variations.
  • Easy-to-use map objects with no need of additional libraries.
  • Modular architecture that allows simple extension.

Simple example

# Import this library
import urizen as uz

# Create a 50x50 size map using BSP algorithm
M = uz.dungeon_bsp_tree(50, 50)

# And visualize it using Pillow with Urizen tileset
uz.vg_tiled(M, scale=3)

The result image will be automatically opened with a default image viewer.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for urizen, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size urizen-0.2.5-py3-none-any.whl (171.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size urizen-0.2.5.tar.gz (157.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page