Metadata-Version: 2.1
Name: text-adventures
Version: 0.0.2
Summary: A Python library for easily making text adventure games.
Home-page: https://github.com/Qwerty-Qwerty88/Text-Adventures
Author: Qwerty Qwerty
Author-email: personqwertyperson88@gmail.com
License: MIT
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Games/Entertainment
Description-Content-Type: text/markdown
License-File: LICENSE

# Text Adventures

A Python library for easily making text adventure games.

Inspired by [`textadventure`](https://pypi.org/project/textadventure/).

* [See on PyPI](https://pypi.org/project/text-adventures/)
* [See on GitHub](https://github.com/Qwerty-Qwerty88/Text-Adventures)
* [See on Replit](https://replit.com/@QwertyQwerty54/TextAdventures)

## Getting Started

Install the library using `pip` or your package manager of choice:

```
pip install text-adventures
```

Add this code to import the package:

```python
import text_adventures
```

## `Scene`

To create a `Scene`, add this code:

```python
myScene = text_adventures.Scene()
```

`Scene`s take 2 arguments:

- `title`: a `str` that gets printed at the top of the console.
- `actions`: an `Iterable` of `Action`s that will be ran in order.

## `Action`s

`Action`s can be set to run in a `Scene`. There are currently 4 options:

- `Text`
- `GoTo`
- `Options`
- `Interaction`

But you can expect more soon, or if you don't want to wait, you can make your own! There is a _very_ simple `Action` class that you can import to create your own `Action`s.


# Change Log

## v0.0.1 (6/10/2023)
- First release

## v0.0.2 (6/11/2023)
- Updated README to include how to install the package and added more links to the package on PyPI
