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.1.tar.gz (11.2 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.1-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wretched_tower-0.1.1.tar.gz
Algorithm Hash digest
SHA256 eff3cc647155567560108349b7caa46ddf9b97dfe322c2e7690917c6806ca345
MD5 87c123f65be961234e14d0b8765439a0
BLAKE2b-256 b4fc041bee71cf8861d993e533f6b386a85e0a9e7fd13cf63db362ea58d6946c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wretched_tower-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 59d679b9ef3f1eac7651e4c40bda27dd197cdae1b57ef57fc3016b63338e40b8
MD5 15404ec2f9e115c2ab2d7465011a8560
BLAKE2b-256 d029f3ce30bf9f544a73e44306681ded6cbdbcbfd1011ebb8bdce267e4019dda

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