diff --git a/index.html b/index.html index ab0f05e..db5d9c2 100644 --- a/index.html +++ b/index.html @@ -46,7 +46,7 @@ tw-link.visited:hover } -(text-color: "black")["**Alright! Let's play a game!**" They announce cheerily.] +(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?"] @@ -91,53 +91,44 @@ tw-link.visited:hover (text-color: "purple")[[The purple bag!]] (text-color: "orange")[[The orange bag!]] -(text-color: "green")[[The green bag!]](set: $playerchoice1 to "purple bag")[An excellent choice!] +(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]] -(set: $hostchoice1 to (either: "orange bag", "green bag"))[$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 -] -(if: $hostchoice1 is "orange bag")[$orangebag.] (if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $continue to "yes") Good choice!](if: $hostchoice1 is "green bag")[$greenbag.](if: $hostchoice1 is "green bag" and $greenbag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[(set: $continue to "yes") Good choice!] +(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"/>] -(if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](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: $hostchoice1 is "green bag" and $greenbag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good 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"/>] - -(if: $continue is "yes")[[On to the next question?]] -(if: $continue is "no")[[[Would you like to play again?->Start]] -[[Start over from beginning?->Title]]](set: $playerchoice1 to "orange bag")[Superb choice!] +[[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]] -(set: $hostchoice1 to (either: "purple bag", "green bag"))[$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 -] -(if: $hostchoice1 is "purple bag")[$purplebag.] (if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $continue to "yes") Good choice!] (if: $hostchoice1 is "green bag")[$greenbag.](if: $hostchoice1 is "green bag" and $greenbag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $greenbag is "bad potion" and $hostchoice1 is "green bag")[(set: $continue to "yes") Good choice!] - -(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](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: $hostchoice1 is "green bag" and $greenbag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good 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"/>] +(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"/>] -(if: $continue is "yes")[[On to the next question?]] -(if: $continue is "no")[[[Would you like to play again?->Start]] -[[Start over from beginning?->Title]]](set: $playerchoice1 to "green bag")[A great choice!] +[[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 "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 "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]] -(set: $hostchoice1 to (either: "purple bag", "orange bag"))[$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="green bag open" height="300" width="300" />] +(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 -] -(if: $hostchoice1 is "purple bag")[$purplebag.] (if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $hostchoice1 is "purple bag" and $purplebag is "bad potion")[(set: $continue to "yes") Good choice!] -(if: $hostchoice1 is "orange bag")[$orangebag.] (if: $hostchoice1 is "orange bag" and $orangebag is "good potion")[(set: $continue to "no") Aww, better luck next time!] (if: $hostchoice1 is "orange bag" and $orangebag is "bad potion")[(set: $continue to "yes") Good choice!] - -(if: $hostchoice1 is "purple bag" and $purplebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300"/>](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: $hostchoice1 is "orange bag" and $orangebag is "good potion")[<img src="https://i.imgur.com/lIbXqGr.png" alt="good 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"/>] +(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"/>] -(if: $continue is "yes")[[On to the next question?]] -(if: $continue is "no")[[[Would you like to play again?->Start]] -[[Start over from beginning?->Title]]]Would you like to... +[[On to the next question?]]Would you like to... [[Keep your bag?]] [[Switch your bag?]][They nod their head.] @@ -164,14 +155,14 @@ tw-link.visited:hover (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.] +[[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.] +[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")) @@ -183,14 +174,14 @@ tw-link.visited:hover [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.] +[[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.] +[[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.] @@ -205,7 +196,7 @@ tw-link.visited:hover [[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'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.] @@ -223,7 +214,7 @@ tw-link.visited:hover [The crowd falls silent, awaiting your response.] [[You accept the offer.->Start]] -[[You decline.]]#[Prize Potions!] +[[You decline.]]#[Prize Potions!] [<img src="https://i.imgur.com/lIbXqGr.png" alt="good potion" height="300" width="300" align="right"/>]