An innovative Flask-based application that allows Dungeon Masters to test their D&D campaigns by simulating player interactions using advanced AI.
- AI Player Simulation: Test your campaigns with AI-powered players that respond realistically to your scenarios.
- Dynamic Conversation System: Engage in natural language dialogue with simulated players.
- Character Sheet Integration: View and manage character sheets for all simulated players.
- Dice Rolling Simulator: Integrated dice rolling for all standard D&D dice (d4, d6, d8, d10, d12, d20, d100).
- Conversation Log: Keep track of all interactions and rolls in a detailed log.
- Voice Integration: Toggle microphone for voice input (experimental feature).
- Python 3.8+
- Flask
- Other dependencies (list them here)
- Microphone
- Clone the repository:
git clone https://github.com/yourusername/ai-dm-simulator.git
- Navigate to the project directory:
cd ai-dm-simulator
- Install required packages:
pip install -r requirements.txt
- Run the Flask application:
flask --app api run
- Open your browser and go to
http://localhost:5000
- Once you've started the application, click
Unmute
to speak to all players, or click the individual's player name/seat to speak to just that player. YMMV!
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
This project is MIT licensed.
- OpenAI for the GPT model used in player simulation
- Flask team for the awesome web framework
- D&D community for inspiration and support
Made with ❤️ by New Carrot Games