Skip to main content

Cool world generator

Project description

ExenWorldGen

Module for quicks maze-like 2D world generations
https://github.com/Exenifix/worldgen/blob/master.github/res/maze.png

Installation

Library is available on PyPI:

$ pip install exenworldgen

Code Usage

from exenworldgen import World

world = World((25, 25))
data = world.generate()  # data can also be obtained via world.data
world.print()  # print the world

CLI Usage

python -m exenworldgen 25x25      # one world of size 25x25
python -m exenworldgen 10x10 30   # 30 worlds of size 10x10

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

exenworldgen-1.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

exenworldgen-1.0-py3-none-any.whl (5.1 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