{(set: $tries to $tries + 1)(set: $count to 0)
(if: $tries is 1)[You are placed into a small white room with 4 walls and no roof. The bright sun beats down from above, reflecting off the walls and obstructing your vision. You stumble around until you can place your hands on a wall. As you touch the wall it raises revealing a long hallway. *Escape!* you think and [[run through the opening.->Run]]]
(if: $tries is 2)[...and places you back into your white room. The sun still shines from above but now you know where the doorway is. You walk to the wall you previously pressed and it opens before you contact it. It looks like theres only one thing to do. [[Run]].]
(if: $tries is 3)[You know the drill, go [[Run]]]}{(if: $tries is <2)[You peer into the new opening seeing the long path in front of you but another open doorway off to your right.]
(if: $tries is >1)[You come back to the opening with a long hallway infront of you and a turn to your right]}
{(if: $right2 is <2)[[[Right->Right1]]]
(else:)[Right]}
[[Straight->Straight1]]
{(if: $back1 is <2)[[[Back->Back1]]]
(else:)[Back]}
(if: $tries is >2)[(if: $right1 is 2)[You remember that right leads to a dead end]]
(if: $wins is >0)[You remember that straight leads to the end]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]You turn right to find yourself facing a wall. A path opens to the left.
{[(if: $left2 is < 2 )[[[Left->Left2]]]
(else:)[Left]]}
[[Back->Run]]
(if: $tries >1)[(if: $left2 is >0)[You remember that left leads to a dead end.]]
{[(if: $tries is 1)[(set: $right1 to 1)]
(else:)[(set: $right1 to $right1 + 1)]]
(if: $tries is >1)[(if:$right2 is >1)[Why did you turn right? You know it leads to a dead end.]]}
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]A run down the long hallway leads to a right turn.
[[Right->Right2]]
[[Back->Run]]
(if: $wins is >0)[You remember that right leads to the end]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]You turn backwards, finding yourself back where you started your escape. After standing for a few seconds a hand reaches down, picks you up, and turns you to face the opening once again.
[[Foward->Run]]
{(if: $tries is 1)[(set: $back1 to 1)]
(else:)[(set: $back1 to 2)Why did you go back? You know what would happen.]}
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]You turn left to find yourself at a dead end. The only way out is from the way you came.
[[Back->Right1]]
{[(if: $tries is 1)[(set: $left2 to 1)]
(if: $tries is >1)[(if: $left2 is 1)[(set: $left2 to 2)]]
(if: $tries is >1)[(if: $left2 is >1)[Why did you turn left? You know it leads to a dead end.]]
(else:)[(set: $left2 to 1)]]}
(set: $count to $count + 2)
(if: $count is >10)[(goto: "Redo")]The right turn leads to another right turn.
[[Right->Right3]]
[[Back->Straight1]]
(if: $wins is >0)[You remember that right leads to the end]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]This time the right turn leads you to an intersection with a path straight ahead, to your left, and to your right.
[[Left->Left3]]
{[(if: $right4 <2)[[[Right->Right4]]]
(else:)[Right]]}
{[(if: $straight2 is <2)[[[Straight->Straight2]]]
(else:)[Straight]]}
[[Back->Right2]]
(if: $tries is >1)[(if: $right4 is >2)[You remember that right leads to a dead end]]
(if: $tries is >2)[(if: $straight2 is >1)[You remember that straight leads to a dead end]]
(if: $wins is >0)[You remember that left leads to the end]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]Turning left yields a path forward and a path to your right.
{[(if: $right5 is < 2 )[[[Right->Right5]]]
(else:)[Right]]}
[[Straight->Straight3]]
[[Back->Right3]]
(if: $tries >1)[(if: $Right5 is >1)[You remember that right leads to a dead end.]]
(if: $wins is >0)[You remember that straight leads to the end]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]At the end of the hallway is a left turn.
{[(if: $left4 <2)[[[Left->Left4]]]
(else:)[Left]]}
[[Back->Right3]]
(if: $tries >1 )[(if: $left4 is >1)[You remember that left leads to a dead end.]]
(if: $tries is >1)[(if: $left4 is >1)[You remember that straight leads to a dead end]]
(set: $count to $count + 1)
(if: $count is >10)[(goto: "Redo")]A third right turn takes you to a dead end. You should've seen this coming.
[[Back->Right3]]
{[(if: $tries is 1)[(set: $right4 to 1)]
(if: $tries is >1)[(if: $right4 is 1)[(set: $right4 to 2)]]
(if: $tries is >1)[(if: $right4 is >1)[Why did you turn right? You know it leads to a dead end.]
(else:)[(set: $right4 to 1)]]]}
(set: $count to $count + 2)
(if: $count is >10)[(goto: "Redo")]A giant hand comes down from above and grabs your body. You try to squirm away but the hand is too strong. It carries you back to the [[Start]].
(set: $dies to $dies + 1)
[(if: $dies is 3)[(goto: "Ending Sender")]](set: $wins to $wins + 1)
(if: $tries is 1)[When you reach the end of this hallway a small plate of food awaits you. This must be the end of that terrible maze. But after a few minutes of rest a giant hand picks you up from above.
[[Next->Start]]]
[(if: $tries is 2)[Once again theres a small plate of food for you and you scarf it down, exhaustion starting to kick in from running the maze. This time you're not even finished before being airlifted back to the [[Start]].]]
(if: $tries is 3)[[[End->Ending Sender]]]
(set: $wins to $wins + 1)Another right turn, another dead end.
[[Back->Left3]]
{[(if: $tries is 1)[(set: $right5 to 1)]
(if: $tries is >1)[(if: $right5 is 1)[(set: $right5 to 2)]]
(if: $tries is >1)[(if: $right5 is >1)[Why did you turn right? You know it leads to a dead end.]]
(else:)[(set: $right5 to 1)]]}
(set: $count to $count + 2)
(if: $count is >10)[(goto: "Redo")]This time you run around the corner because surely the end must be near. Instead you run into another wall and bounce back.
[[Back->Straight2]]
{[(if: $tries is 1)[(set: $left4 to 1)]
(if: $tries is >1)[(if: $left4 is 1)[(set: $left4 to 2)]]
(if: $tries is >1)[(if: $left4 is >1)[Why did you turn left? You know it leads to a dead end.]]
(else:)[(set: $left4 to 1)]]}
(set: $count to $count + 2)
(if: $count is >10)[(goto: "Redo")]{(if: $dies is 0)[(goto: "Escape")]
(if: $dies is 1 or 2)[(goto: "Live")]
(if: $dies is 3)[(goto: "Death")]}"Doctor!" you hear a high pitched voice exclaim, "This rat made it through without having to reset once, isn't that magnificent?!
"Yes of course," another voice booms, "in fact we can set this one free. He's undergone enough tests for his lifetime."
The hand grabs you again and a short trip later you feel a warmth from above you. The hand brings you down to the vast black ground and you run for your life towards a bush.
"Bye little guy! Have a nice life!" the voice calls from behind you.
**Escape**"Interesting" you here a voice boom from above you, "this rat was able to make it through but also failed, I'd like to study it more." Before you can figure out what that means the hand grabs you once again and you're being lifted in the air. It takes you to a wire cage and pushes you inside. You flop onto the soft floor and dash for a green hut you can hide inside of. At least you won't have to run that maze again any time soon.
**Live to run another day**"It would appear as this rat struggles with spacial skills. My hypothesis seems to be correct, Dr. Johnson would you ready the operation table? I'd like to take a look at this one's brain." *My brain??* you think, *I like it when my brain stays in my body!* You look for somewhere to run to but theres nowhere to go. Before you can react the hand once again grabs you and you feel a massive pain as something punctures your lower body. *Wha... what was... tha...* you stammer before you close your eyes for good.
**Death**[[<h1>**Run**<h1>->Start]]
(set: $tries to 0)