Your browser lacks required capabilities. Please upgrade it or switch to another to continue.
Loading…
<<set $stepsTaken_Array to []>>
<<set $stepsNeeded_Array to ["climbLadder(up);", "switch();"]>><<set _commandLength = $stepsTaken_Array.length>>\
<<set $Step1Visited = true>>\
<<set _show to { start: 0, end: 6 }>>\
[img[Images\Day13\GSDay13BG1.png]]
"PHEW, I'm beat… They don't know when to quit. I'm glad to see ya, kid."
<div class='hide' id='next0'>[img[Images\Day13\GSDay13BG2.png]]
"OH, I meant to congratulate you on completing the course the other week. You'll make the varsity sportsball team for sure at this rate."</div>
<div class='hide' id='next1'> "SO... here's uh... a little gift to commemorate this moment!!! Why don't you hang onto this key while I go order a nice team jacket for you??? ...LATER!!!"</div>
<div class='hide' id='next2'> [img[Images\Day13\GSDay13BG3.png]]
"HEY"</div>
<div class='hide' id='next3'>[img[Images\Day13\GSDay13BG4.png]]
"I'm going to rip that striped hat right off their head..."
</div>
<div class='hide' id='next4'>[img[Images\Day13\GSDay13BG5.png]]
"What? You have the key? Why didn't you say anything?!"</div>
<div class='hide' id='next5'>[img[Images\Day13\GSDay13BG6.png]]
"Well, at least now I can finish my favourite series. I’ve been waiting for years. Will you do me a favor and open the door to the library?"
[[Sure.|Steps 14 - 17]]
</div>
<<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 14 - 17][$stepsTaken_Array = []]]
<<else>>\
You scale the ladder, twist out the old lightbulb with a flick of the wrist, and put in the new one.
[[Huh. Looks like Gym's sportsball practice really helped, huh?|Steps 18 - 21]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set _commandLength = $stepsTaken_Array.length>>\
<<if $Step18Visited == null>>\
<<set $Step18Visited = true>>\
<<set $stepsNeeded_Array to ["climbLadder(down);","pickUp();","rep(4) {moveRight();}","putDown(ladder);","climbLadder(up);","switch();"]>>\
[img[Images\Day13\GSDay13BG9.png]]
"Thank you. Being able to see everything more clearly definitely made things worse."
<<set _show to { start: 0, end: 2}>>\
<div class='hide' id='next0'>
"What happened to the other ladder? There used to be two in here... You know what? I don't even want to know."</div>
<div class='hide' id='next1'>"Can you <span class='redBold'>switch();</span> the other light? You may have to <span class='whiteBold'>climb down</span> the ladder, <span class='whiteBold'>pick it up</span>, and then <span class='blueBold'>putDown(ladder);</span> against the bookshelf in order to reach it..."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 18 - 21][$stepsTaken_Array.push(_commandString)]]
</div>
<<else>>\
[img[Images\Day13\GSDay13BG9.png]]
"Can you <span class='redBold'>switch();</span> the other light? You may have to <span class='whiteBold'>climb down</span> the ladder, <span class='whiteBold'>pick it up</span>, and then <span class='blueBold'>putDown(ladder);</span> against the bookshelf in order to reach it..."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 18 - 21][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 18 - 21][$stepsTaken_Array = []]]
<</if>>
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 18 - 21 Evaluation]]
[[Clear the commands.|Steps 18 - 21][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _commandLength = $stepsTaken_Array.length>>\
<<if $Step14Visited == null>>\
<<set $Step14Visited = true>>\
[img[Images\Day13\GSDay13BG7.png]]
"!......!!"
<<set _show to { start: 0, end: 1}>>\
<div class='hide' id='next0'>[img[Images\Day13\GSDay13BG8.png]]
"I knew I shouldn’t have lent out my key. Look at this mess… Can you see the light up there? Try to <span class='blueBold'>climbLadder(up);</span> to <span class='redBold'>switch();</span> the light..."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 14 - 17][$stepsTaken_Array.push(_commandString)]]
</div>
<<else>>\
[img[Images\Day13\GSDay13BG8.png]]
"I knew I shouldn’t have lent out my key. Look at this mess… Can you see the light up there? Try to <span class='blueBold'>climbLadder(up);</span> to <span class='redBold'>switch();</span> the light..."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 14 - 17][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 14 - 17][$stepsTaken_Array = []]]
<</if>>
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 14 - 17 Evaluation]]
[[Clear the commands.|Steps 14 - 17][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 18 - 21][$stepsTaken_Array = []]]
<<else>>\
You haul the ladder over on your shoulder, climb up, and switch the lightbulbs in the space of a breath.
[[Yeah, that sportsball stuff *really* paid off.|Steps 22 - 23]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set _commandLength = $stepsTaken_Array.length>>\
<<if $Step22Visited == null>>\
<<set $Step22Visited = true>>\
<<set $stepsNeeded_Array to ["climbLadder(down);","rep(5) {moveLeft();}","talk();"]>>\
[img[Images\Day13\GSDay13BG10.png]]
"Are those spider webs…?! Erh! I... can't deal with that right now. I have an idea, can you <span class='whiteBold'>come down</span> and <span class='blueBold'>talk();</span> to me over here? I have something for you."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 22 - 23][$stepsTaken_Array.push(_commandString)]]
<<else>>\
[img[Images\Day13\GSDay13BG10.png]]
"Are those spider webs…?! Erh! I... can't deal with that right now. I have an idea, can you <span class='whiteBold'>come down</span> and <span class='blueBold'>talk();</span> to me over here? I have something for you."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 22 - 23][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 22 - 23][$stepsTaken_Array = []]]
<</if>>
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 22 - 23 Evaluation]]
[[Clear the commands.|Steps 22 - 23][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 22 - 23][$stepsTaken_Array = []]]
<<else>>\
You slide down the ladder and walk over to the cat-eared ghost.
[['Sup?|Steps 24 - 26]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set _commandLength = $stepsTaken_Array.length>>\
<<if $Step24Visited == null>>\
<<set $Step24Visited = true>>\
<<set $stepsNeeded_Array to ["rep(5){moveRight();}","pickUp();","rep(4) {moveRight();}","putDown(ladder);","climbLadder(up);"]>>\
[img[Images\Day13\GSDay13BG11.png]]
"I have this poster here. Maybe it can liven up the room? Can you just <span class='whiteBold'>move over</span>, <span class='blueBold'>putDown(ladder);</span> , and <span class='whiteBold'>climb up</span> that pillar? Don’t forget to <span class='blueBold'>pickUp();</span> the ladder on your way."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 24 - 26][$stepsTaken_Array.push(_commandString)]]
<<else>>\
[img[Images\Day13\GSDay13BG11.png]]
"I have this poster here. Maybe it can liven up the room? Can you just <span class='whiteBold'>move over</span>, <span class='blueBold'>putDown(ladder);</span> , and <span class='whiteBold'>climb up</span> that pillar? Don’t forget to <span class='blueBold'>pickUp();</span> the ladder on your way."
<<if _commandLength < $stepsNeeded_Array.length>><label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 24 - 26][$stepsTaken_Array.push(_commandString)]]
[[Clear the commands.|Steps 24 - 26][$stepsTaken_Array = []]]
<</if>>
<<if _commandLength >= $stepsNeeded_Array.length>>\
[[Check solution.|Steps 24 - 26 Evaluation]]
[[Clear the commands.|Steps 24 - 26][$stepsTaken_Array = []]]
<</if>>\
<<if _commandLength > 0>>\
Current commands:
<<for _i to 0; _i < _commandLength; _i ++>>\
<<if $stepsTaken_Array[_i] != "" && $stepsTaken_Array[_i] != " ">>\
<<print $stepsTaken_Array[_i]>>
<<else>>\
Blank Command
<</if>>\
<</for>>
<</if>>
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 24 - 26][$stepsTaken_Array = []]]
<<else>>\
Using your powered up movement, you slide past the the ladder, grabbing it with one hand, then slap it against the pillar and climb up easily.
[[I'm up here. What now?|Steps 27 - 28]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\<<set _commandLength = $stepsTaken_Array.length>>\
<<if $Step27Visited == null>>\
<<set $Step27Visited = true>>\
<<set $stepsNeeded_Array to ["switch();"]>>\
[img[Images\Day13\GSDay13BG12.png]]
"Use <span class='redBold'>switch();</span> to open it up. I really hope this helps."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 27 - 28 Evaluation][$stepsTaken_Array.push(_commandString)]]
<<else>>\
[img[Images\Day13\GSDay13BG12.png]]
"Use <span class='redBold'>switch();</span> to open it up. I really hope this helps."
<label>Enter a command. <<textbox "_commandString" "">></label>
[[Enter command.|Steps 27 - 28 Evaluation][$stepsTaken_Array.push(_commandString)]]
<</if>><<set _gotIt = true>>\
<<for _i to 0; _i < $stepsTaken_Array.length; _i ++>>\
<<set _gotIt = $stepsTaken_Array[_i].replace(/\s/g,'') == $stepsNeeded_Array[_i].replace(/\s/g,'')>>\
<<if _gotIt == false>>\
<<break>>
<</if>>\
<</for>>\
<<if _gotIt == false>>\
Looks like you had an error somewhere. Try it again.
[[Go back.|Steps 27 - 28][$stepsTaken_Array = []]]
<<else>>\
You slap the poster down and look back at the ghost expectantly.
[[Well? Does it help?|Steps 29 - 35]]
<<set $stepsNeeded_Array = []>>
<<set $stepsTaken_Array = []>>
<</if>>\[img[Images\Day13\GSDay13BG13.png]]
"..."
<<set _show to { start: 0, end: 4 }>>\
<div class='hide' id='next0'>"It doesn’t."</div>
<div class='hide' id='next1'>"Why don't we go back to the dorm. I don't think I can look at this anymore today."</div>
<div class='hide' id='next2'>[img[Images\Day13\GSDay13BG14.png]]
"Well... that was upsetting. I didn't even get a chance to look for my book. Well... I guess there's always tomorrow."</div>
<div class='hide' id='next3'>[img[Images\Day13\GSDay13BG15.png]]
"Good night…."
----
Good job! This lesson's password is: <span class ='whiteBold'>Crystal</span>
Enter it in the Google Forms link!</div>