<commit_before>![logo](epic.png)

The Epic Text Adventure maker. An API to create simple text adventures based on xml files.

## Getting started

Here is an example how to use the library properly:

```java
TextAdventure adventure = new TextAdventure(new XMLSource("my-game.xml"));

adventure.addListener(new AdventureListener() {

    @Override
    public void onAction(AdventureEvent event) {
       // Do something with the output
    }
});

// Add command
adventure.command("go west");
```

## Commands

There a several commands which are supported by **epic**:

* go [west — east — north — south]
* attack creature name
* take [item name — all]
* drop item name — all]
* use item name
* open [door name — chest name]



<commit_msg>Added more explanation<commit_after>![logo](epic.png)

The Epic Text Adventure maker. An API to create simple text adventures based on xml files.

## Getting started

Here is an example how to use the library properly:

```java
TextAdventure adventure = new TextAdventure(new XMLSource("my-game.xml"));

adventure.addListener(new AdventureListener() {

    @Override
    public void onAction(AdventureEvent event) {
       // Do something with the output
    }
});

// Add command
adventure.command("go west");
```

## Commands

There a several commands which are supported by **epic**:

* go [west — east — north — south]
* attack creature name
* take [item name — all]
* drop item name — all]
* use item name
* open [door name — chest name]

You can pass them as a parameter to the ```command``` method of the ```TextAdventure``` object.




{'fraction_non_alphanumeric': 0.10822784810126582, 'fraction_numerical': 0.0, 'mean_word_length': 3.940625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071341', 'n_tokens_mistral': 474, 'n_tokens_neox': 456, 'n_words': 199}