Skip to main content

Qrogue is a modernized Quantum Computing take of the classical game Rogue.

Project description

      _______           
     / _____ \          
    | |     | |         
    | |     | |         
    | |     | |   _ __ ___   __ _ _   _  ___         
    | |     | |  | '__/ _ \ / _` | | | |/ _ \
    | |_____| |  | | | (_) | (_| | |_| |  __/    
     \______\_\  |_|  \___/ \__, |\__,_|\___|   
                             __/ |            
                            |___/ 

ASCII-Art generated by https://www.ascii-art-generator.org/

Qrogue v0.4

Qrogue is a modernized Quantum Computing take of the classical game Rogue.

You will play as a student who's dream is to travel through the galaxy. As they hear about "Mission Quniverse" they immediately apply for its training program to be able to join this fascinating Quantum Computing powered universe exploration mission.

Table of Contents

  • Installation
    • Dependencies
    • Linux
    • Windows
  • Notes
  • How to play - Controls
  • Outlook

Installation

Dependencies

  • py_cui v0.1.4
  • qiskit v0.34.2
  • numpy v1.20.1
  • antlr4-python3-runtime v4.10

However, these dependencies are installed automatically if you install Qrogue via pip.

Linux/macOS

Prerequisites

  • Python 3.8
  • pip

For Linux/macOS you simply have to run

pip install qrogue

to install Qrogue in your current Python environment.

Afterwards you can launch the game simply by executing qrogue in the Python environment you installed Qrogue in.

Windows

Prerequisites

Same as for Linux/macOS

Notes

  • py_cui.errors.PyCUIOutOfBoundsError

Should you ever encounter this error when starting the game please try to maximize the console you use for playing. This is because currently there is no automatic font size adaption so depending on your console settings a minimum width and height is required. Alternatively or if maximizing doesn't help you can also lower the font size of the console.

  • newer Python versions

Usually also Python 3.9 and onward should perfectly work for playing Qrogue but testing is currently done for Python 3.8 so there is no official support yet for other versions. The same is true if you decide to manually install the dependencies; newer version will likely work but are not recommended.

How to play - Controls

  • Navigate in menus: Arrow Keys, wasd
  • Move in game world: Arrow Keys, wasd
  • Scroll in popup: Arrow Keys, wasd
  • Close popup: Space, Enter
  • Reopen last popup: H
  • Confirm selection (also in question popup): Space, Enter
  • Cancel/back (also in question popup): Shift+A, Shift+Left, Backspace
  • Pause: P, Tab
  • Situational
    • shortcut keys: 0-9
  • Debug Keys (not for use in normal play through!)
    • Print screen: CTRL+P
    • Force re-render: CTRL+R

Outlook

What you can expect from Qrogue v0.5:

  • better Popups
  • automated testing
  • Documentation

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

qrogue-0.4.tar.gz (184.3 kB view details)

Uploaded Source

File details

Details for the file qrogue-0.4.tar.gz.

File metadata

  • Download URL: qrogue-0.4.tar.gz
  • Upload date:
  • Size: 184.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.5 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.4

File hashes

Hashes for qrogue-0.4.tar.gz
Algorithm Hash digest
SHA256 1f6f7d2e5130471df3a01dcf43db8948da6db77e663b2d832f5a07b29a8e7a6c
MD5 e36d99e8632700f8a137b1dafaf0cb6d
BLAKE2b-256 eb7af7c9354d268494a640d434d9cf4f59fe32f6ced816e838b2392b9fe28b80

See more details on using hashes here.

Provenance

Supported by

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