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 details)

Uploaded Source

Built Distribution

exenworldgen-1.0-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file exenworldgen-1.0.tar.gz.

File metadata

  • Download URL: exenworldgen-1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for exenworldgen-1.0.tar.gz
Algorithm Hash digest
SHA256 6b6cf6b37783083b6c73cb4db71182be695d3198b5467fd1b1d8a3f77a9881bb
MD5 12df3fad26d2230aa51c228a029a42a4
BLAKE2b-256 374c4d3475162592001aeb92def4de225f1fc28d6e0bffa2895e0cc3e38c387a

See more details on using hashes here.

File details

Details for the file exenworldgen-1.0-py3-none-any.whl.

File metadata

  • Download URL: exenworldgen-1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.6 Linux/5.15.0-1024-azure

File hashes

Hashes for exenworldgen-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5d172806b2a7d738d0e50820bd1a7331bae8f8535c03bc7b570a78fcf12383f
MD5 da3c56071c63639a0d238a1eaffa8e34
BLAKE2b-256 e20187a4cfbcb27aaf8204c0380aa22143e3236ae90bb474c208956126722125

See more details on using hashes here.

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