Package for generating dungeons.
Project description
DonJuan
HACKATHON - a list of todo items for the 12/20/20 Hackathon can be found on the issues page!
A translation/rebuild of the original donjon dungeon generator. This package aims to deconstruct the original script into extendable parts, and provide all pieces for customization for different purposes and not just the map image. For example, when complete this package will automatically generate walls, doors, and light sources for use in Foundry Virtual Tabletop.
You can find the documentation here.
Installation
Installing donjuan is possible using the setup.py file. When the package is more mature, we will cut a release on PyPI. For now, the steps to install are to clone or download this repository and install into your Python environment.
Assuming you have git, you can do:
git clone https://github.com/tmcclintock/donjuan
cd donjuan
pip install -r requirements.txt
python setup.py install
If you have conda you can install the requirements using the environment.yml file before installing:
conda env create -f environment.yml
conda activate donjuan
python setup.py install
To run the test suite, you must have pytest installed. You can run the tests with:
pytest
which can be done from the root of the repository.
Note that the only requirement at the moment is pillow.
Contributing
To contribute to donjuan please see the developing page.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file donjuan-0.0.2.tar.gz
.
File metadata
- Download URL: donjuan-0.0.2.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea3ef2d790232708b1c08de3aa99111e6c1cbd6aed3f90122e1c0a9beb12d32f |
|
MD5 | 1454131fcd5b190b40de273a76860974 |
|
BLAKE2b-256 | cc5f1765ef0d02f2e4383013e168a693173fdff626a44a2c98ab7a7b31bdf540 |
File details
Details for the file donjuan-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: donjuan-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c46ea28b85af0618bf68dd81877255f14b2a88cb0702edb663c0656ac79e03e |
|
MD5 | 19052186857de7a1e7445a908346d6a7 |
|
BLAKE2b-256 | 50be5427a3f2bc7d36ace056d489e604baa21c7386d0564ca4521e805baef0c8 |