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.

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

Source Distribution

urizen-0.2.5.tar.gz (157.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

urizen-0.2.5-py3-none-any.whl (171.4 kB view details)

Uploaded Python 3

File details

Details for the file urizen-0.2.5.tar.gz.

File metadata

  • Download URL: urizen-0.2.5.tar.gz
  • Upload date:
  • Size: 157.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for urizen-0.2.5.tar.gz
Algorithm Hash digest
SHA256 4ff5aa21c7d590312fbc67504baa3588d4b9a137d972c6b8babac79048dbdee7
MD5 a4829e4fcc4cc92e590d2c672fac43ec
BLAKE2b-256 1896f6f652812fedc7e871d10b5224abefe555f2009d746360d3699794242a68

See more details on using hashes here.

File details

Details for the file urizen-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: urizen-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 171.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.9

File hashes

Hashes for urizen-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2ca2607236a3daa0cf89b5f872d827c9f49df5eea60c2f89579254d22f1c3e
MD5 7985e3ece77f0a9703ec24b083fd8c5c
BLAKE2b-256 70b8a7bb5724e46379087bdf7af454532f4aafc3e6a170d528a24d2ac454919b

See more details on using hashes here.

Supported by

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