Skip to main content

T-BAG (Text-Based Adventure Game)

T-BAG is a text-based RPG game where the player navigates through different rooms, collects items, and avoids monsters to reach the garden and win the game.

Description

In this game, you start in a hall and must navigate through different rooms, collecting items and avoiding monsters. Your goal is to reach the garden with the key and a potion to win the game.

Installation

  1. install the module:
    pip install --no-cache-dir T-BAG
    
  2. Run the game:
    python -m T_BAG
    
  3. Uninstall so you can update it:
    pip uninstall T_BAG
    

Usage

  • Use the go command to move to a different room. For example:
    go east
    
  • Use the get command to pick up an item. For example:
    get key
    
  • Use the quit command to exit the game. For example:
    quit 5
    

Commands

  • go [direction]: Move to a different room.
  • get [item]: Pick up an item from the room.
  • quit [seconds]: Quit the game after waiting for the specified number of seconds.
  • help [number]: Show the list of commands. If a number is provided, show that many commands; put 0 to print all the commands.
  • drop [item]: Drop an item into the room you are in.
  • look [anything]: Look around the room you are currently in. You can enter anything after the look command, but you must enter something, because of how I handle commands

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes. The rules for contributing are here.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Metadata

Release files for T-BAG 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for T-BAG 1.1.3
File Size Uploaded Provenance Actions
t_bag-1.1.3.tar.gz 8.5 kB Without provenance Details for t_bag-1.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for T-BAG 1.1.3
File Interpreter ABI Platform Actions
t_bag-1.1.3-py3-none-any.whl Python 3 none any Details for t_bag-1.1.3-py3-none-any.whl

Total release size: 17.9 kB

Release files / t_bag-1.1.3.tar.gz

Download URL t_bag-1.1.3.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bccab6b458548ccc088e57426625d0a15ffc02f2d7a445dc162e9019e7cfbbaa
BLAKE2b-256 checksum
How to use checksums
3404423634cc82fbe4f9128f3877a654c50d1aac3e6bd476263ce7df52ce39d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / t_bag-1.1.3-py3-none-any.whl

Download URL t_bag-1.1.3-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ccfefbbe98b026ec639eb449909b5e5c41eade3735c65cc36309e93f0bf38709
BLAKE2b-256 checksum
How to use checksums
6b6b6c3f49b4811f0c947c7933356e5c52564d29d2f68e50f1be898f9f8047db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for T-BAG 1.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page