(text-color: "black")["**Alright! Let's play a game!**" They announce cheerily.]
["Today you will be trying to win a //good potion//!" The game itself it very easy. I learned it from a man named Monty Hall."]
["Would you like to hear the rules?"]
[[Yes! Please explain them to me.]]
[[No, I already know how this works.]]
(set: $purplebag to (either: "bad potion", "bad potion", "good potion"))
(if: $purplebag is "bad potion")[(set: $orangebag to (either: "bad potion", "good potion"))]
(if: $purplebag is "good potion")[(set: $orangebag to (either: "bad potion", "bad potion"))]
(if: $purplebag is "bad potion" and $orangebag is "bad potion")[(set: $greenbag to "good potion")]
(if: $purplebag is "good potion" and $orangebag is "bad potion")[(set: $greenbag to "bad potion")]
(if: $purplebag is "bad potion" and $orangebag is "good potion")[(set: $greenbag to "bad potion")]
(set: $switched to "false")
["Alright! You are going to see three bags," they gesture at the three bags in front of them.]
[<img src="https://i.imgur.com/6JYHB1y.png" alt="purple bag shut" height="250" width="300" /> <img src="https://i.imgur.com/cV1W71R.png" alt="purple bag shut" height="250" width="300" /> <img src="https://i.imgur.com/f7l3t11.png" alt="purple bag shut" height="250" width="300" />]
["Inside one of them is the //good potion!//"]
[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>]
["And inside the other two are bad potions."]
[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/> <img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]
["All you have to do is pick the right bag."]
["You'll first be asked to pick one bag."]
["Then I will reveal what is inside one of the two bags you did not pick. You can then choose to switch to the other bag if you would like, or you can keep the bag you first picked."]
["Then we'll open you bag and see if you're a winner!"]
["Are you ready?"]
[[Yeah, let's get this started!->No, I already know how this works.]]
[[I changed my mind. I'd rather not play.->You decline.]][Let's get started!]
[Please pick a bag!]
[<img src="https://i.imgur.com/6JYHB1y.png" alt="purple bag shut" height="250" width="300" /> <img src="https://i.imgur.com/cV1W71R.png" alt="purple bag shut" height="250" width="300" /> <img src="https://i.imgur.com/f7l3t11.png" alt="purple bag shut" height="250" width="300" />]
(text-color: "purple")[[The purple bag!]]
(text-color: "orange")[[The orange bag!]]
(text-color: "green")[[The green bag!]](set: $set to "false")(set: $playerchoice1 to "purple bag")[An excellent choice!]
[Well let's take a look inside the...]
(set: $hostchoice1 to (either: "orange bag", "green bag"))
(if: $hostchoice1 is "orange bag" and $set is "false")[(if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $hostchoice1 to "green bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $set to "true")$hostchoice1]](if: $hostchoice1 is "green bag" and $set is "false")[(if: $hostchoice1 is "green bag" and $greenbag is "good potion")[(set: $hostchoice1 to "orange bag")(set: $set to "true")$hostchoice1] (if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[(set: $set to "true")$hostchoice1]]
(if: $hostchoice1 is "orange bag")[<img src="https://i.imgur.com/OLfHmc9.png" alt="orange bag open" height="300" width="300" />](else:)[<img src="https://i.imgur.com/AwRTO6o.png" alt="green bag open" height="300" width="300" />]
[They pull open the bag, reaching inside to reveal a -]
[bad potion.]
(if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]
[[On to the next question?]]
(set: $set to "false")(set: $playerchoice1 to "orange bag")[Superb choice!]
[Well let's take a look inside the...]
(set: $hostchoice1 to (either: "purple bag", "green bag"))
(if: $hostchoice1 is "purple bag" and $set is "false")[(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $hostchoice1 to "green bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $set to "true")$hostchoice1]](if: $hostchoice1 is "green bag" and $set is "false")[(if: $hostchoice1 is "green bag" and $greenbag is "good potion")[(set: $hostchoice1 to "purple bag")(set: $set to "true")$hostchoice1] (if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[(set: $set to "true")$hostchoice1]]
(if: $hostchoice1 is "purple bag")[<img src="https://i.imgur.com/OP11vSu.png" alt="purple bag open" height="300" width="300" />](else:)[<img src="https://i.imgur.com/AwRTO6o.png" alt="green bag open" height="300" width="300" />]
[They pull open the bag, reaching inside to reveal a -]
[bad potion.]
(if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]
[[On to the next question?]](set: $set to "false")(set: $playerchoice1 to "green bag")[A great choice!]
[Well let's take a look inside the...]
(set: $hostchoice1 to (either: "purple bag", "orange bag"))
(if: $hostchoice1 is "purple bag" and $set is "false")[(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $hostchoice1 to "orange bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $set to "true")$hostchoice1]](if: $hostchoice1 is "orange bag" and $set is "false")[(if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $hostchoice1 to "purple bag")(set: $set to "true")$hostchoice1] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $set to "true")$hostchoice1]]
(if: $hostchoice1 is "purple bag")[<img src="https://i.imgur.com/OP11vSu.png" alt="purple bag open" height="300" width="300" />](else:)[<img src="https://i.imgur.com/OLfHmc9.png" alt="orange bag open" height="300" width="300" />]
[They pull open the bag, reaching inside to reveal a -]
[bad potion.]
(if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](if: $orangebag is "bad potion" and $hostchoice1 is "orange bag")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]
[[On to the next question?]]Would you like to...
[[Keep your bag?]]
[[Switch your bag?]][They nod their head.]
[Alright folks, let's see if we have a winner!]
(if: $playerchoice1 is "purple bag" and $hostchoice1 is "orange bag")[(set: $lastbag to "green bag")](if: $playerchoice1 is "purple bag" and $hostchoice1 is "green bag")[(set: $lastbag to "orange bag")](if: $playerchoice1 is "orange bag" and $hostchoice1 is "purple bag")[(set: $lastbag to "green bag")](if: $playerchoice1 is "orange bag" and $hostchoice1 is "green bag")[(set: $lastbag to "purple bag")](if: $playerchoice1 is "green bag" and $hostchoice1 is "purple bag")[(set: $lastbag to "orange bag")](if: $playerchoice1 is "green bag" and $hostchoice1 is "orange bag")[(set: $lastbag to "purple bag")]
[They head on over to the $lastbag]
(if: $lastbag is "purple bag")[<img src="https://i.imgur.com/OP11vSu.png" alt="purple bag open" height="300" width="300" />](if: $lastbag is "orange bag")[<img src="https://i.imgur.com/OLfHmc9.png" alt="orange bag open" height="300" width="300" />](if: $lastbag is "green bag")[<img src="https://i.imgur.com/AwRTO6o.png" alt="green bag open" height="300" width="300" />]
[They open it with a dramatic flurish to reveal...]
(if: $lastbag is "purple bag")[$purplebag.](if: $lastbag is "orange bag")[$orangebag.](if: $lastbag is "green bag")[$greenbag.]
(if: $lastbag is "purple bag")[(if: $purplebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]](if: $lastbag is "orange bag")[(if: $orangebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]](if: $lastbag is "green bag")[(if: $greenbag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>]]
[[Next]](if: $switched is "false" and $playerchoice1 is "purple bag")[(if: $hostchoice1 is "orange bag")[(set: $switched to "true")(set: $playerchoice1 to "green bag") You choose to switch to the green bag.]](if: $switched is "false" and $playerchoice1 is "purple bag")[(if: $hostchoice1 is "green bag")[(set: $switched to "true")(set: $playerchoice1 to "orange bag") You choose to switch to the orange bag.]](if: $switched is "false" and $playerchoice1 is "orange bag")[(if: $hostchoice1 is "green bag")[(set: $switched to "true")(set: $playerchoice1 to "purple bag") You choose to switch to the purple bag.]](if: $switched is "false" and $playerchoice1 is "orange bag")[(if: $hostchoice1 is "purple bag")[(set: $switched to "true")(set: $playerchoice1 to "green bag") You choose to switch to the green bag.]](if: $switched is "false" and $playerchoice1 is "green bag")[(if: $hostchoice1 is "purple bag")[(set: $switched to "true")(set: $playerchoice1 to "orange bag") You choose to switch to the orange bag.]](if: $switched is "false" and $playerchoice1 is "green bag")[(if: $hostchoice1 is "orange bag")[(set: $switched to "true")(set: $playerchoice1 to "purple bag") You choose to switch to the purple bag.]]
(if: $playerchoice1 is "purple bag")[<img src="https://i.imgur.com/6JYHB1y.png" alt="purple bag shut" height="250" width="300" />](if: $playerchoice1 is "orange bag")[<img src="https://i.imgur.com/cV1W71R.png" alt="purple bag shut" height="250" width="300" />](if: $playerchoice1 is "green bag")[<img src="https://i.imgur.com/f7l3t11.png" alt="purple bag shut" height="250" width="300" />]
[[Time for the final reveal->Keep your bag?]] (if: $playerchoice1 is "purple bag")[(if: $purplebag is "bad potion")[Unfortunately that means you did not win.](else:)[You've won the //good potion//!]](if: $playerchoice1 is "orange bag")[(if: $orangebag is "bad potion")[Unfortunately that means you did not win.](else:)[You've won the //good potion//!]](if: $playerchoice1 is "green bag")[(if: $greenbag is "bad potion")[Unfortunately that means you did not win.](else:)[You've won the //good potion//!]]
(if: $playerchoice1 is "purple bag")[(if: $purplebag is "bad potion")[Your open your bag to reveal a //bad potion//, a sickly green liquid swishing around inside it.](else:)[Your bag opens to reveal a magical //good potion//, glowing faintly.]](if: $playerchoice1 is "orange bag")[(if: $orangebag is "bad potion")[Your bag swings open to reveal a //bad potion//, a sickly green liquid swishing around inside it.](else:)[Your bag opens to reveal a magical //good potion//, glowing faintly.]](if: $playerchoice1 is "green bag")[(if: $greenbag is "bad potion")[Your bag opens to reveal a //bad potion//, a sickly green liquid swishing around inside it.](else:)[Your bag swings open to reveal a magical //good potion//, glowing faintly.]]
(if: $playerchoice1 is "purple bag")[(if: $purplebag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>]](if: $playerchoice1 is "orange bag")[(if: $orangebag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>]](if: $playerchoice1 is "green bag")[(if: $greenbag is "bad potion")[<img src="https://i.imgur.com/BjOXUZU.png" alt="bad potion" height="300" width="300"/>](else:)[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>]]
[[Would you like to play again? ->Start]]
[[Start over from beginning?->Title]][You run down the old dirt path, the only one that leads into town.]
[Today is the day!]
[The traveling peddler comes back to town, with stories of their adventures in far away lands and fantastic wares to sell.]
[[Run]]
[For some reason, you say //no// to playing.]
[The peddler stares at you for another minute, then turns to the child next to you, asking them the same question.]
(set: $outcome to (either: "wins", "loses"))
[They accept and start to play a guessing game.]
[The child $outcome.] (if: $outcome is "wins")[ They clutch their prize gleefully, running off.] (else:)[ They walk away sadly.]
[Years go by and the peddler continues to visit from time to time, but you never get chosen again.]
[You start to think about that day, imagining what might have happened if you had said yes.]
[[Imagine that day again...->Story Intro]] [But you like them visiting for the games. Each time they visit, they play a game with one of the villagers.]
[This time, you're hoping they'll pick you.]
[You see a crowd is starting to form in the center of town around the peddler.]
[[Run faster.]]
[[Continue at your pace.]][Pumping all your energy into your legs, you run as fast as you can. You just barely make it to the front of the crowd when you feel it close tightly around you.]
[Directly in front of you is the peddler. They stare at you for a moment.]
["//That was quite a run//." They say to you.]
[You nod, out of breath.]
["//I like the energy//.]
[//**Would you like to play a game today?**//"]
[The crowd falls silent, awaiting your response.]
[[You accept the offer.->Start]]
[[You decline.]]
[You're already pretty tired from yesterday. You think you can just make it at the current pace.]
[You just barely miss it. The crowd closes in in front of you. Seeing no other option, you start to weave around people. The crowd jostles you around.]
[You're almost to the front when you miss a step and land face first in the front of the crowd.]
[You see a pair of worn brown boots in front of you. You look up to see that they belong to the peddler. They stare at you for a moment.]
["//That was quite an entrance//." They say to you.]
[You pick yourself up, worried that you ruined all chances of getting picked.]
[They laugh heartily. "//Not a bad way either.//]
[//**Would you like to play a game today?**//"]
[The crowd falls silent, awaiting your response.]
[[You accept the offer.->Start]]
[[You decline.]]#[Prize Potions!]
[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300" align="right"/>]
[A Twine Adventure by:
Emma Atkinson]
[[Play->Story Intro]]