(set: $foundX to 0)
(set: $foundY to 0)
(set: $count to 0)
[[Start->A]](display: "update")
You are at A
[[B]]
[[C]]
[[D]](display: "update")
You are at B
[[A]]
[[C]]
[[E]](display: "update")
You are at C
[[A]]
[[B]]
[[D]]
[[E]]
[[F]]
[[H]](display: "update")
You are at D
[[A]]
[[C]]
[[F]]
[[G]](display: "update")
You are at E
(if: $foundY is not 1)[You have found "Y". (set: $foundY to 1)]
[[B]]
[[C]]
[[H]](display: "update")
You are at F
[[C]]
[[D]]
[[G]]
[[H]](display: "update")
You are at G
(if: $foundX is not 1)[You have found "X". (set: $foundX to 1)]
[[D]]
[[F]](display: "update")
You are at H
[[C]]
[[E]]
[[F]]
(if: $foundX is 1 and $foundY is 1)[There is an exit here. [[Leave]] ]
(else:)[You can see an exit, but you can't get through it.]Congratulations. You escaped.(set: $count to $count + 1)
(if: $count > 20)[(go-to: "Lose")]
You have been playing for $count turns.
(if: $count is 10)[You are getting tired.]
(else-if: $count > 10)[You are very tired.]
(set: $count 0)
You lose.