Skip to main content

Roguelike dungeon 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.

Features

  • 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 urizen as uz  # Import this library
M = uz.dungeon_bsp_tree(50, 50)  # Create a 50x50 size map using BSP algorithm
uz.vg_pillow_pixelated(M, scale=5)  # And visualize it using Pillow

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.

Source Distribution

urizen-0.0.2b0.tar.gz (8.8 kB view hashes)

Uploaded Source

Built Distribution

urizen-0.0.2b0-py3-none-any.whl (23.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page