Governor Morgan thinks the people of Port Royal need cheering up. He decided to organize a special feast. Morgan hid tickets for the feast in 200 treasure boxes, hidden in places around Port Royal.
[[next]]
{(set: $bottle to true)
(set: $rope to true)
(set: $stick to true)
(set: $first to true)
(set: $second to true)
(set: $third to true)
(set: $fourth to true)
(set: $combo to "")
(set: $hours to 1)
(set: $minutes to 0)}You turn to the chapter called "Prime Numbers."
"One is a special number, also called the unit. It is neither prime nor composite."
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/7/75/Pictogram_voting_number_one.svg/249px-Pictogram_voting_number_one.svg.png" title="number 1" height="180" width="180">
[[keep reading|book2]]
[[stop reading|Choices]]The time is [$hours]:(if: $minutes is 0)[00](else:)[$minutes] pm. The feast is at 6:00 pm.
<img src="https://upload.wikimedia.org/wikipedia/commons/c/c6/Emblem-question_red.png" title="3 digits" height="140" width="140">
[[set the combination|try]]
[[think about your choices|Choices]]
You find where you think the first X on the map is. There's a tall tree with a monkey in it. The monkey seems to be holding something shiny, a brass plate.
<img src="https://upload.wikimedia.org/wikipedia/commons/d/d6/Emojione_BW_1F412.svg" title="monkeys hate snakes" height="180" width="180">
(if: $bottle is true)[[* throw the bottle at the monkey|bottle1]]
(if: $stick is true)[[* throw the stick at the monkey|stick1]]
(if: $rope is true)[[* throw the rope close to the monkey|rope1]]
[[* wait for the monkey to drop the brass plate|wait1]]"Two is the first positive even number. It's also the first prime number."
"Prime numbers have exactly two factors: themselves and 1."
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Circle_sign_2.svg/192px-Circle_sign_2.svg.png">
[[keep reading|book3]]
[[stop reading|Choices]]The time is [$hours]:(if: $minutes is 0)[00](else:)[$minutes] pm. The feast is at 6:00 pm.
Items available for your use:
(if: $stick is true)[a stick, a bit longer than your arm]
(if: $rope is true)[a 6-foot length of thin rope]
(if: $bottle is true)[a glass bottle]
<hr>//-- your options --//
[[Look in the math book|book1]]
[[Look at the box again|next]]
(if: $first is true)[[Look for the first X|first]]
(if: $second is true)[[Look for the second X|second]]
(if: $third is true)[[Look for the third X|third]]
(if: $fourth is true)[[Look for the fourth X|fourth]]
[[Try to open the box|open]]"Three is an odd number and a prime number. All prime numbers after two are odd numbers."
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/3NumberThreeInCircle.svg/240px-3NumberThreeInCircle.svg.png" height="180" width="180">
[[keep reading|book4]]
[[stop reading|Choices]]"Four is the first composite number. It has three factors: 1, 2, and 4."
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Number_4_in_red_rounded_square.svg/240px-Number_4_in_red_rounded_square.svg.png" height="180" width="180">
[[keep reading|book5]]
[[stop reading|Choices]]"Five is a prime number."
<img src="https://upload.wikimedia.org/wikipedia/commons/5/5b/NYCS-bull-trans-5-red.svg">
"Six is a composite number."
"Seven is a prime number."
"Eight is a composite number."
"Nine is the first odd composite number. It has three factors: 1, 3, and 9."
[[go back to the begining of the chapter|book1]]
[[stop reading|Choices]]You missed the monkey and the bottle falls and breaks into tiny pieces.
[[try something else|first]]
{(set: $minutes to $minutes + 15)
(set: $bottle to false)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}You missed the monkey and recover the stick.
[[try something else|first]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}The monkey sees the rope and thinks it's a snake. It runs away, hops to another tree and drops the brass plate! You pick it up and notice writing on it.
[[read the plate|plate1]]
(set: $rope to false)
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}An hour passes as you wait patiently. Finally, the monkey drops the brass plate and you pick it up. You see writing on it.
[[read the writing|plate1]]
{(set: $hours to $hours +1)}<span style="font-size: 24pt">"The second digit is less than the first."</span>
(set: $first to false)
[[think about your choices|Choices]]
[[find the second X|second]]
[[try to open the box|open]]You find a house. There's a parrot on the roof and it's also holding a brass plate. You can't seem to get very close to the parrot.
<img src="https://upload.wikimedia.org/wikipedia/commons/6/6e/Creative-Tail-Animal-parrot.svg" title="what ya got?">
(if: $bottle is true)[[tap on the bottle to lure the parrot down|bottle2]]
(if: $stick is true)[[spear a piece of fruit on the stick and offer it to the parrot|stick2]]
(if: $rope is true)[[make a lasso out of the rope, hook it on a pipe and climb up to the parrot|rope2]]
[[wait patiently|wait2]]The parrot squawks but doesn't move closer.
[[try something else|second]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}Tempted by the fruit, the parrot comes closer, eats the fruit and drops the brass plate.
[[read the plate|plate2]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}You manage to hook the rope and start climbing. But the rope breaks and you fall.
[[try something else|second]]
(set: $rope to false)
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}An hour passes as you wait patiently. Finally, the parrot flies away and drops the brass plate.
[[read the plate|plate2]]
{(set: $hours to $hours +1)}<span style="font-size: 24pt">"The third digit is less than the second."</span>
(set: $second to false)
[[think about your choices|Choices]]
[[find the third X|third]]
[[try to open the box|open]]You find a package wrapped in cloth. The cloth is tied together with multiple loops of cord, tied in many difficult knots. You can feel something flat inside, maybe another brass plate?
<img src="https://upload.wikimedia.org/wikipedia/commons/6/66/20crossings-four-trefoils-decorative-knot.svg" title="tangle town" height="180" width="180">
(if: $bottle is true)[[break the bottle and use it to cut the cord|bottle3]]
(if: $stick is true)[[shove the stick under the cord and then twist it, maybe you can break it|stick3]]
(if: $rope is true)[[tie the rope to the package and then drag the package on the ground|rope3]]
[[patiently work through the many knots|wait3]]You carefully cut the cord and unwrap the package. You find another brass plate!
[[read the plate|plate3]]
{(set: $minutes to $minutes + 15)
(set: $bottle to false)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}You twist the rope but the stick breaks before the tough cord does.
[[try something else|third]]
{(set: $minutes to $minutes + 15)
(set: $stick to false)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}You drag the package along the ground for awhile but it seems to do nothing to the cord.
[[try something else|third]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}It takes an hour, but you finally undo the knots and unwrap the package. You find another brass plate!
[[read the plate|plate3]]
{(set: $hours to $hours +1)}<span style="font-size: 24pt">"The first two digits are prime."</span>
(set: $third to false)
[[think about your choices|Choices]]
[[find the fourth X|fourth]]
[[try to open the box|open]]At the docks, you find Marliss, known to be a wise woman. "You are looking for a clue, eh? Why should I give it to you? Can you show me what you have learned?"
<img src="https://upload.wikimedia.org/wikipedia/commons/1/10/African_girl_face_icon.svg" title="Marliss" height=180" width="180">
(if: $bottle is true)[[You say "Because glass can bend light, I can focus the sun's rays through the bottom of this bottle and make enough heat to start a fire."|bottle4]]
(if: $rope is true)[[You say "With this rope I can tie a square knot, a clove hitch, a bowline, a reef knot, and a sheet bend."|rope4]]
(if: $stick is true)[[You say "I can balance this stick on my nose, I can throw it high and catch it, and I can use it to measure the length of this pier."|stick4]]
[[You say "I can do a whole sheet of long-division problems."|wait4]]<span style="font-size: 24pt">"The last digit is a composite number."</span>
(set: $fourth to false)
[[think about your choices|Choices]]
[[try to open the box|open]]It takes an hour to do the long division problems and check them. Marliss is impressed and gives you a brass plate.
[[read the plate|plate4]]
{(set: $hours to $hours +1)}Marliss watches as you carefully focus the sun's rays on some wood shavings. They smolder and then catch fire. "Nice demonstration," says Marliss and she hands you a brass plate.
[[read the plate|plate4]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}You show Marliss each of the knots you know and explain their use. "Informative," says Marliss and she gives you a brass plate.
[[read the plate|plate4]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}"Show me how you would measure the length of the pier," says Marliss. You know that the stick is about a yard in length. You put it down at the beginning of the pier and then flip it end-over-end, counting as you go. "Seventeen and a half yards, about." Marliss is satisfied and gives you a brass plate.
[[read the plate|plate4]]
{(set: $minutes to $minutes + 15)
(if: $minutes is 60)[(set: $hours to $hours + 1, $minutes to 0)]}(set: $combo to (prompt: "Enter the 3-digit combination:", ""))
(if: $combo is "754")[Huzzah! You opened the box.]
(else:)[Sorry, wrong combination. <br>(set: $hours to it + 1)[[try again|open]] ]
(if: $combo is "754" and $hours < 6)[Now you should hurry to the feast.<img src="https://upload.wikimedia.org/wikipedia/commons/f/fb/Noun_Project_Celebration_icon_1857239.svg" height="150" width="150" title="well done">]
(if: $hours >= 6)[Too bad, you ran out of time]Congratulations! You found one of these boxes. Looking closely at the box, you see that it's locked. To open it, it looks like you need to turn three dials with numbers 1 to 9 to the right digits. Probably not "123" you think.<br>
You see writing on the box. <span style="color:firebrick">"Warning! Each time you try to unlock this box with the wrong numbers, the box will not open for one hour. Make //prime// decisions and use //composite// clues."</span> You saw somewhere in a math book the words "prime" and "composite" .
<img src="https://upload.wikimedia.org/wikipedia/commons/e/ea/Noun_Project_Treasure_Map_1460610_cc.svg" title="clues?" style="float: right">
You also see a map on the back of the box with four X's. You think you know where they are.
[[Choices]]