Skip to main content

Tower of Rapunzel

Install

Create a Python virtual environment (version 3.7 or above):

python3 -m venv torvenv

Install the game (the version number may differ):

torvenv/bin/pip install tower_of_rapunzel-0.9.0.tar.gz

Play

Launch the server:

torvenv/bin/torgame

You should see this message:

======== Running on http://127.0.0.1:8080 ========
(Press CTRL+C to quit)

Point your browser to that address:

firefox http://127.0.0.1:8080

When you get to Rapunzel’s chamber for the first time, you may need to enable audio in your browser tab if there is no sound to be heard.

Poster

Tower of Rapunzel is Free software. It is a web-native single-puzzle text adventure, built entirely of:

  • Python 3.7+

  • HTML5

  • CSS3

It’s a piece of work to demonstrate the use of the Turberfield dialogue library, and to show how that can be integrated into an asynchronous web framework.

Tower of Rapunzel’s core logic is written in Python. The dialogue library provides a neat format to define and schedule the speech of the non-player characters.

Other architectures are possible. Authors less focused on coding may prefer to implement game logic within the dialogue itself. This too is supported by the Turberfield dialogue library.

I’m looking for feedback on the game and its underlying technology. Do please:

  • Leave a comment on the Itch.io game page

  • Flag a technical issue at the Github repository

Metadata

Release files for tower-of-rapunzel 0.10.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tower-of-rapunzel 0.10.0
File Size Uploaded Provenance
tower_of_rapunzel-0.10.0.tar.gz 2.3 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for tower-of-rapunzel 0.10.0
File Interpreter ABI Platform
tower_of_rapunzel-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 3.4 MB

Release files / tower_of_rapunzel-0.10.0.tar.gz

Download URL tower_of_rapunzel-0.10.0.tar.gz
Size 2.3 MB
Tags Source
SHA-256 checksum
How to use checksums
7ac7dc538822dd29e0154f5eab2b963e74e4830db0aeaadd3e9971adc18897e2
BLAKE2b-256 checksum
How to use checksums
b9ab40f68a9621122f5b800d61948da5a8bd272d9a28e11e25de0a5c58ea4725
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

Release files / tower_of_rapunzel-0.10.0-py3-none-any.whl

Download URL tower_of_rapunzel-0.10.0-py3-none-any.whl
Size 1.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
712d69985a9f9597559c293c323369f4cf2eff566d71b1d2633043d5494c369a
BLAKE2b-256 checksum
How to use checksums
98479db2b68d8e0071530f5a15986a3e17a40932e82f56ee208f66c10d49b3e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5

Security for tower-of-rapunzel 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page