This project aims to develop an interactive story generator for Dungeons & Dragons adventures using Python and Pyformlang. The project will leverage regular expressions, automata, finite state transducers, and context-free grammars to facilitate user interaction and generate various aspects of the D&D story.
The Interactive Dungeons & Dragons Story Generator project focuses on providing players with a platform to create and explore dynamic D&D narratives through decision-making and choices that directly influence the progression of the adventure. By utilizing a combination of regular expressions, automata, finite state transducers, and context-free grammars, this project aims to make D&D story generation an immersive and interactive experience.
- Player Interaction: Players can actively participate in crafting the D&D adventure by making decisions and choices at critical points.
- Utilization of Narrative Elements: The project employs narrative techniques inspired by D&D lore, incorporating elements such as character interactions, quests, and encounters.
To set up the Interactive Dungeons & Dragons Story Generator on your local machine, follow these steps:
- Clone the repository:
git clone https://github.com/merolemay/dnd-story-generator.git
- Navigate to the project directory:
cd dnd-story-generator
- Install the required dependencies:
pip install pyformlang,ntlk
- Navigate to src/main
- run the main script:
python main.py
- Immerse yourself in the interactive D&D adventure by making choices that shape the journey of your characters.
- Enjoy the unfolding narrative that responds to your decisions.
Contributions to the Interactive Dungeons & Dragons Story Generator project are highly appreciated! If you encounter any issues or have ideas for enhancements, feel free to open an issue or submit a pull request in the GitHub repository.
Prior to making substantial changes, please discuss them with the maintainers through the issue tracker.
This project is licensed under the MIT License.