Last active
July 29, 2025 14:36
-
-
Save gahrae/ecfe932cf6ecf65a403b1404b0a1c28a to your computer and use it in GitHub Desktop.
Prototype data for interactive prolog story creation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "title": "Storyer", | |
| "content": "Once upon a time, in a land far, far away, lived a brave knight named <span class=\"annotated-text\" data-prolog-fact=\"hero(sir_reginald).\">Sir Reginald</span>. He was known throughout the kingdom for his courage and his unwavering commitment to justice. One day, a fearsome dragon, <span class=\"annotated-text\" data-prolog-fact=\"villain(ignis).\">Ignis</span>, descended upon the peaceful village of <span class=\"annotated-text\" data-prolog-fact=\"location(oakhaven).\">Oakhaven</span>, demanding tribute. The villagers, terrified, turned to Sir Reginald for help.\n\nSir Reginald, without hesitation, donned his shining armor and sharpened his trusty sword. He knew the <span class=\"annotated-text\" data-prolog-fact=\"travels_to(sir_reginald, dragons_peak).\">journey to Ignis's lair, nestled deep within the treacherous Dragon's Peak</span>, would be perilous. Along the way, he encountered a wise old wizard, <span class=\"annotated-text\" data-prolog-fact=\"helper(elara).\">Elara</span>, who offered him a magical amulet. \"This amulet,\" Elara said, \"will protect you from the dragon's fiery breath, but only if your heart is pure.\"\n\nWith the amulet clutched in his hand, Sir Reginald continued his quest. He faced roaring rivers, dense forests, and cunning goblins. Finally, he reached <span class=\"annotated-text\" data-prolog-fact=\"location(dragons_peak).\">Dragon's Peak</span>. The air grew heavy with smoke, and the ground trembled with each of Ignis's thunderous breaths. Sir Reginald steeled himself, knowing that the fate of Oakhaven rested on his shoulders. He entered the dragon's lair, ready for the ultimate challenge.\n", | |
| "programRules": "", | |
| "prologQuery": "hero(X)." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment