from: "door"
config.footer.left: "[[Mathland67->http://www.mathland67.com]]"
--
"What's your name?" The Door asked.
It was an old wooden door, conspicously out of place against the smooth digital wall. Its surface was bare. No knob. No keyhole.
{embed image: './door.png', alt: 'old wooden door'}
"I'm Epsilon," he answered softly. "What is this place?"
"It's the Magical Room."
"Can I [[come in and take a look->problem1]]?"answer: ""
from: "problem1"
--
"If you can answer my questions."
"What questions?"
The wooden surface lit up like a screen, and a diagram appeared.
{embed image: './problem1.png', alt: 'stick on wall problem using Pythagorean theorem'}
"A wooden stick is **10** feet long," the Door said. "You lean it against a wall so that the top end is **8** feet above the ground. How far is the bottom from the wall?"
"The answer is {text input for: 'answer'} feet,” Epsilon said quickly. "[[Am I right?->problem2]]"
correct: answer === "6"
answer: ""
back: from === "problem3"
from: "problem2"
--
[if correct || back]
"Not bad," the Door said, its surface glowing green. "Here's the second problem."
{embed image: './problem2.png', alt: 'ribbon around dylindrical problem using Pythagorean theorem'}
"A cylindrical cup is **12** centimeters high, and the circumference of its base is **5** centimeters. A ribbon is wrapped around the column from the bottom to the top, making exactly one full turn. What is the minimum length of the ribbon needed?"
Epsilon paused, thinking it through.
"{text input for: 'answer'} feet,” [[he said->problem3]].
[else]
"I'm afraid you're wrong," the Door said. "[[Try again?->problem1]]"correct: answer === "13"
answer: ""
back: from === "dooropen"
from: "problem3"
--
[if correct || back]
"Great job," the Door said, a pair of hands appearing on its surface and begining to clapping. "Here's the last problem."
{embed image: './problem3.png', alt: 'spider and fly problem'}
"In an empty rectangular room measuring **16** feet long, **6** feet wide, and **6** feet high, there is a spider and a fly. The spider is on one 6-by-6 wall, horizontally centered along the edge of the ceiling. The fly is on the opposite wall, horizontally centered along the edge of the floor. The spider can only crawl along the walls, ceiling, or floor. What is the length of the shortest path the spider must take to reach the fly?"
"Isn't it obvious?" Epsilon thought.
"Is it?" The Door said with a laugh as if it could read his thought.
A thought struck Episilon. What if...
"The answer is," Epsilon said. "{text input for: 'answer'} feet.”
[[The door shuddered.->dooropen]]
[else]
"That is incorrect," the Door said. "[[Try again?->problem2]]"answer: "20"
correct: answer === "20"
answer: ""
from: "dooropen"
--
[if correct]
"Welcome back, Lord Infinity." The Door creaked open.
{embed image: './dooropen1.png', alt: 'gems in the sahpe of right angle inside the door'}
Inside the room stood three bookshelves. Gems of varioius colors rested on them, glimmering in digital light. Strangely, every gem was shaped like a right triangle.
Epsilon walked up to the bookshelf in the center. On the third row front the bottom sat a magician's hat. He lifted it. Beneath it were a short wand and a thick, old notebook.
{embed image: './dooropen2.png', alt: 'lord infinity notebook'}
The notebook's cover was pure white, marked only with black handwriting:
**THE NOTEBOOK**
**LORD INFINITY**
Epsilon [[opened the notebook->notebook]].
[else]
"That's incorrect, I'm afraid." the Door said. "[[Try again?->problem3]]"{embed image: './notebook.png', alt: 'notebook'}