You can use the Conditional Fields plugin to create a simple DnD style adventure game.
Form
Form Code
Choose your path: [select select-path include_blank "The Forest" "The Castle" "The Cavern"]<br>
[group forest]
You step into the forest, where the air is thick with the scent of pine and mystery.<br>
A rustling sound catches your attention. Do you: [select select-forest-choice include_blank "Investigate the sound" "Follow the trail"]<br>
[group sound]
You discover a wounded wolf caught in a trap. Do you: [select select-wolf-choice include_blank "Help the wolf" "Leave it"]<br>
[group help-wolf]
You free the wolf, and it becomes your loyal companion. Together, you find a hidden treasure in the forest. You win!<br>
[/group]
[group leave-wolf]
The wolf howls, and you hear more howls in the distance. A pack appears, and you are chased out of the forest. Game over!<br>
[/group]
[/group]
[group trail]
The trail leads to an ancient tree with a door. Do you: [select select-tree-door-choice include_blank "Enter the door" "Walk away"]<br>
[group enter-door]
Inside, you find a magical realm where you are crowned ruler. You win!<br>
[/group]
[group walk-away]
You walk away, but the forest never lets you leave. You are lost forever. Game over!<br>
[/group]
[/group]
[/group]
[group castle]
The castle stands tall with its gates open. Do you: [select select-castle-choice include_blank "Enter boldly" "Sneak in"]<br>
[group bold]
The guards salute you, thinking you are royalty. You are escorted to the throne room. Do you: [select select-throne-choice include_blank "Speak to the king" "Steal the crown"]<br>
[group speak-king]
The king is impressed by your bravery and makes you a knight. You win!<br>
[/group]
[group steal-crown]
You grab the crown, but the guards catch you. You are thrown in the dungeon. Game over!<br>
[/group]
[/group]
[group sneak]
You slip in unnoticed and find yourself in the treasury. Do you: [select select-treasury-choice include_blank "Take the gold" "Search further"]<br>
[group take-gold]
You escape with bags of gold, living a life of wealth. You win!<br>
[/group]
[group search-further]
You discover a cursed artifact and are turned into stone. Game over!<br>
[/group]
[/group]
[/group]
[group cavern]
You descend into the cavern, where the air grows colder. A fork in the path appears. Do you: [select select-cavern-choice include_blank "Take the left path" "Take the right path"]<br>
[group left-path]
The path leads to an underground lake. Do you: [select select-lake-choice include_blank "Swim across" "Stay on the shore"]<br>
[group swim-across]
You find a hidden cache of jewels on the other side. You win!<br>
[/group]
[group stay-shore]
A giant serpent emerges and drags you into the depths. Game over!<br>
[/group]
[/group]
[group right-path]
You find a chamber filled with glowing crystals. Do you: [select select-crystals-choice include_blank "Touch the crystals" "Leave them"]<br>
[group touch-crystals]
The crystals grant you eternal wisdom and power. You win!<br>
[/group]
[group leave-crystals]
You hear a rumble, and the cavern collapses. Game over!<br>
[/group]
[/group]
[/group]
[submit "Finish Adventure"]
Email Body
Dear Adventurer,<br><br>
Thank you for embarking on the journey. Here’s how your adventure unfolded:<br><br>
[forest]
You chose to explore the forest.<br>
[sound]
You investigated the rustling sound.<br>
[help-wolf]
You helped the wolf, and it led you to a hidden treasure. You win!<br>
[/help-wolf]
[leave-wolf]
The wolf's pack chased you out of the forest. Game over!<br>
[/leave-wolf]
[/sound]
[trail]
You followed the trail and found an ancient tree with a door.<br>
[enter-door]
You entered the door in the tree and were crowned ruler of a magical realm. You win!<br>
[/enter-door]
[walk-away]
You walked away, but the forest never let you leave. You are lost forever. Game over!<br>
[/walk-away]
[/trail]
[/forest]
[castle]
You chose to explore the castle.<br>
[bold]
You entered boldly and were taken to the throne room.<br>
[speak-king]
The king was impressed by your bravery and made you a knight. You win!<br>
[/speak-king]
[steal-crown]
You stole the crown but were caught and thrown in the dungeon. Game over!<br>
[/steal-crown]
[/bold]
[sneak]
You sneaked into the castle treasury.<br>
[take-gold]
You took the gold and escaped, living a life of wealth. You win!<br>
[/take-gold]
[search-further]
You discovered a cursed artifact and were turned into stone. Game over!<br>
[/search-further]
[/sneak]
[/castle]
[cavern]
You chose to explore the cavern.<br>
[left-path]
You took the left path and reached an underground lake.<br>
[swim-across]
You swam across and found a cache of jewels. You win!<br>
[/swim-across]
[stay-shore]
A giant serpent dragged you into the lake. Game over!<br>
[/stay-shore]
[/left-path]
[right-path]
You took the right path and found a chamber filled with glowing crystals.<br>
[touch-crystals]
The crystals granted you eternal wisdom and power. You win!<br>
[/touch-crystals]
[leave-crystals]
The cavern collapsed, trapping you inside. Game over!<br>
[/leave-crystals]
[/right-path]
[/cavern]<br>
We hope you enjoyed the adventure!<br><br>
Best regards,<br>
The Storyteller
Conditional Fields (Text)
show [forest] if [select-path] equals "The Forest"
show [sound] if [select-forest-choice] equals "Investigate the sound"
show [trail] if [select-forest-choice] equals "Follow the trail"
show [help-wolf] if [select-wolf-choice] equals "Help the wolf"
show [leave-wolf] if [select-wolf-choice] equals "Leave it"
show [enter-door] if [select-tree-door-choice] equals "Enter the door"
show [walk-away] if [select-tree-door-choice] equals "Walk away"
show [castle] if [select-path] equals "The Castle"
show [bold] if [select-castle-choice] equals "Enter boldly"
show [sneak] if [select-castle-choice] equals "Sneak in"
show [speak-king] if [select-throne-choice] equals "Speak to the king"
show [steal-crown] if [select-throne-choice] equals "Steal the crown"
show [take-gold] if [select-treasury-choice] equals "Take the gold"
show [search-further] if [select-treasury-choice] equals "Search further"
show [cavern] if [select-path] equals "The Cavern"
show [left-path] if [select-cavern-choice] equals "Take the left path"
show [right-path] if [select-cavern-choice] equals "Take the right path"
show [swim-across] if [select-lake-choice] equals "Swim across"
show [stay-shore] if [select-lake-choice] equals "Stay on the shore"
show [touch-crystals] if [select-crystals-choice] equals "Touch the crystals"
show [leave-crystals] if [select-crystals-choice] equals "Leave them"