{"repo":"katelouie/bardic","free":true,"listed":false,"github":"https://github.com/katelouie/bardic","clone":"git clone https://github.com/katelouie/bardic.git","description":"A Python-first interactive fiction engine and authoring system. Frontend-agnostic and portable.","language":"Python","stars":31,"topics":["domain-specific-language","dsl","game-development","game-engine","if","interactive-fiction","markup-language","python","python3","bardic"],"license":"MIT","category":"game-templates","readme_excerpt":"Bardic Bardic is a Python-first interactive fiction engine that lets you import your own classes and use real Python in your stories. Write your branching narrative in a clean, simple syntax (inspired by Ink), and when you need complex logic, just use Python. Bardic is designed to be the \"story layer\" for games that need rich data models, complex state, and custom UIs. Bardic is frontend-agnostic and works with NiceGUI, Reflex, React+FastAPI, or any other frontend layer you want to build with. It compiles stories to JSON and is portable and versatile. Bardic in Action (with VSCode Extension) A Quick Example Bardic syntax is designed to be simple and stay out of your way. Here's a small story that shows off the core features: Why Bardic? A New Choice for Writers and Developers You have great tools like Twine, Ink, and Ren'Py. So, why did I create Bardic? Bardic is built for stories that get complex . - Twine and Ink are both excellent authoring systems with large communities. If you like them, use them! - Bardic is for when your \"state\" isn't just a number or a string, but a complex object. It's for when you want to write: - \"I want this character to have an inventory, which is a list of Item objects .\" - \"I need to import my Player class and call player.take damage(10) .\" - \"I want to simulate a full tarot deck, with 78 Card objects , each with its own properties and methods.\" Have you ever been writing and thought, \"I wish I could just import my custom class and use it\"? Tha","default_branch":null,"files":null,"tree":[],"storefront":"/r/katelouie","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/katelouie/bardic/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}