Skip to main content

A digital die rolling tools for use as an alternative tool for games that implement a tumbling tower resolution mechanic such as those based on the Wretched and Alone SRD.

Project description

Wretched Tower

A digital dice-based tool to use as an alternative to tumbling tower mechanics used in games, such as those based on the Wretched and Alone SRD by Sealed Library.

PyPI -- Version Black code style Pre-commit License uv Ruff Security: bandit Checked with pyright Semantic Versions Test results Coverage Status Docs pipeline status

The mechanic

The idea for the mechanic was originally posted by user Speak the Sky during a game jam for the SRD.

Obviously a Jenga tower is a bit more specialised than dice or cards, and can't really been done easily and properly online, so here's a simple mechanic that uses d6s (and an online dice roller like orokos.com):

  1. 1st pull: roll 100(!)d6, take out the 1s,
  2. 2nd pull: roll the dice you have left, take out the 1s etc.
  3. 'lose' when you run out of dice.

100d6 is a lot, which is why you should do this digitally!

The app

The application is implemented as a TUI which you can access via the command line. It creates a tower, handles dice rolls on demand, and provides feedback on how close to utter destruction you happen to be.

Screenshot of the Wretched tower app showing dice remaining and key bindings at the bottom. Currently displays 100 dice and healthy.

Installation

You can install wretched-tower like any other Python application via pip, but you can also sidestep needing to maintain an environment for it by using uv.

uvx wretched-tower

Usage

Simply press ++r++ to roll the tower and the display will update.

Screenshot of the Wretched Tower app in progress, this time showing 47 dice remaining and status Wounded

If you want to start a new tower, press ++ctrl++ + ++n++.

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

wretched_tower-0.1.2.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wretched_tower-0.1.2-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file wretched_tower-0.1.2.tar.gz.

File metadata

  • Download URL: wretched_tower-0.1.2.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for wretched_tower-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b3abe53bea45f55aee47ab253db3ea82ea054bdbc8bbdb6334ff22ddf3fee0f6
MD5 1e38aa42b744c3b88fac3078f924369e
BLAKE2b-256 a3dddbb1a0249b1e8e5753cbc167faaeb6b2f87189547acbf0aee8c8377791aa

See more details on using hashes here.

File details

Details for the file wretched_tower-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for wretched_tower-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0d7b3be192ff7a06bd2359aff20317dd3388a8092b78115f29b91dabd98a4566
MD5 d68f4049b7800c92b314cf75df458d37
BLAKE2b-256 b5c2bfa38c2eaeccfdc50302f9c44e5ea93d7e77a74c93506e364a9b3bcace46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page