Skip to main content

Progress Quest: the CLI edition

Project description

Progress Quest

Relive the great adventure… this time in the terminal realm!

Features

  • Faithful port of the game logic
  • Saves (with backups) to $XDG_CONFIG_HOME/pqcli/save.dat
  • Terminal interface that comes in 2 flavors:
    • Rich and colorful (--curses, default)
    • Minimal, suitable for raw grind (--basic)
  • Ideal to run on your server

How it looks like

Curses interface:

Screenshot Screenshot

Basic interface:

Screenshot

How to install

If you have Python 3.7, just run pip install --user pqcli and you're good to go! Then type pqcli to run the game.

In case if you want to use the git version, the process is just a bit more complex:

$ git clone https://github.com/rr-/pq-cli.git
$ cd pq-cli
$ pip install --user .

Contributing

# Clone the repository:
git clone https://github.com/rr-/pqcli.git
cd pqcli

# Install to a local venv:
poetry install

# Install pre-commit hooks:
poetry run pre-commit install

# Enter the venv:
poetry shell

This project uses poetry for packaging. Install instructions are available at poetry#installation.

Troubleshooting

_curses.error: init_pair() returned ERR

If running on Linux and you get the error _curses.error: init_pair() returned ERR, try making sure that your $TERM variable is set to a value which supports 256 colors, such as via the following:

TERM=xterm-256color pqcli

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

pqcli-1.0.4.tar.gz (218.7 kB view details)

Uploaded Source

Built Distribution

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

pqcli-1.0.4-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file pqcli-1.0.4.tar.gz.

File metadata

  • Download URL: pqcli-1.0.4.tar.gz
  • Upload date:
  • Size: 218.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for pqcli-1.0.4.tar.gz
Algorithm Hash digest
SHA256 a4738d33da3786cbc3cbb9912b8b1106491fa0228339aabedc9b89c91c394f49
MD5 33dfd77c93c3339d193b57bbf34593b4
BLAKE2b-256 078e7811031a0d6895cbf534824922ef1582156bb183b2d947593bbbf89d9e73

See more details on using hashes here.

File details

Details for the file pqcli-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: pqcli-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 49.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for pqcli-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb99cb2a5aeafd50eba0122b49b27c84ca04cba2874d9f03a61aab5284b001f
MD5 4085de43626957b7ed0eaa9d48cd409f
BLAKE2b-256 2bfd74048aefd1ace362f50354aeaa7350abb9a50a2c57576e4b5008c5a6fbfa

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