A text-driven web game.
Project description
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:
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 tower_of_rapunzel-0.10.0.tar.gz
.
File metadata
- Download URL: tower_of_rapunzel-0.10.0.tar.gz
- Upload date:
- Size: 2.3 MB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ac7dc538822dd29e0154f5eab2b963e74e4830db0aeaadd3e9971adc18897e2 |
|
MD5 | 9dbd5a53cc791917fc97fed85660191a |
|
BLAKE2b-256 | b9ab40f68a9621122f5b800d61948da5a8bd272d9a28e11e25de0a5c58ea4725 |
File details
Details for the file tower_of_rapunzel-0.10.0-py3-none-any.whl
.
File metadata
- Download URL: tower_of_rapunzel-0.10.0-py3-none-any.whl
- Upload date:
- Size: 1.2 MB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 712d69985a9f9597559c293c323369f4cf2eff566d71b1d2633043d5494c369a |
|
MD5 | 0872ae90d50b0521f1baff6fbbdf0cf2 |
|
BLAKE2b-256 | 98479db2b68d8e0071530f5a15986a3e17a40932e82f56ee208f66c10d49b3e1 |