Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ba0a76
commit 96a2d45
Showing
32 changed files
with
499 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
layout: default | ||
title: Level 22 | ||
lang: en | ||
number: 22 | ||
--- | ||
<p id="goal"> | ||
<b>Goal:</b> Construct a regular hexagon given one side AB. | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="http://i.snag.gy/EBDZu.jpg"/ > | ||
</p> | ||
|
||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Go to <a href="/Level23/">level 23</a> ! | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level22.ggb %}" ; | ||
parameters.language = "en" | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
|
||
checkobject("pointC",-0.5,0.5); | ||
checkobject("pointLT",0.2,0); | ||
checkobject("pointR",0.2,0); | ||
checkobject("pointRT",1,0); | ||
checkobject("pointLT",-1.2,0); | ||
checkobject("pointL",-1.2,0); | ||
checksegment("segmentLB"); | ||
checksegment("segmentRB"); | ||
checksegment("segmentLT"); | ||
checksegment("segmentRT"); | ||
checksegment("segmentT"); | ||
|
||
|
||
if (drawn("pointC")) | ||
{ | ||
Command('progress = 10'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 1){ | ||
Command('progress = 20'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 2){ | ||
Command('progress = 40'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 3){ | ||
Command('progress = 60'); | ||
} | ||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 4){ | ||
Command('progress = 80'); | ||
} | ||
|
||
LevelCompleted(drawn("segmentLT") && drawn("segmentRT") && drawn("segmentLB") && drawn("segmentRB") && drawn("segmentT"),6); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: default | ||
title: Level 21 | ||
lang: en | ||
number: 21 | ||
|
||
--- | ||
<p id="goal"><b>Goal:</b> Constructing two tangents to the given circle from the point A | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="/img/Level{{page.number}}.png"/ > | ||
</p> | ||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Go to <a href="/Level22.html">Level 22</a>. | ||
</p> | ||
</div> | ||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level21.ggb %}" ; | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
checkobject("pointT",-0.3,0.5); | ||
checkobject("pointB",-0.3,0.5); | ||
checkdirection("tangentB",0,0); | ||
checkdirection("tangentT",0,0); | ||
LevelCompleted(drawn("tangentT")&& drawn("tangentB"),5); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
layout: default | ||
title: Level 22 | ||
lang: en | ||
number: 22 | ||
--- | ||
<p id="goal"> | ||
<b>Goal:</b> Construct a regular hexagon given one side AB. | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="http://i.snag.gy/EBDZu.jpg"/ > | ||
</p> | ||
|
||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Go to <a href="/Level23/">level 23</a> ! | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level22.ggb %}" ; | ||
parameters.language = "en" | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
|
||
checkobject("pointC",-0.5,0.5); | ||
checkobject("pointLT",0.2,0); | ||
checkobject("pointR",0.2,0); | ||
checkobject("pointRT",1,0); | ||
checkobject("pointLT",-1.2,0); | ||
checkobject("pointL",-1.2,0); | ||
checksegment("segmentLB"); | ||
checksegment("segmentRB"); | ||
checksegment("segmentLT"); | ||
checksegment("segmentRT"); | ||
checksegment("segmentT"); | ||
|
||
|
||
if (drawn("pointC")) | ||
{ | ||
Command('progress = 10'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 1){ | ||
Command('progress = 20'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 2){ | ||
Command('progress = 40'); | ||
} | ||
|
||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 3){ | ||
Command('progress = 60'); | ||
} | ||
if (drawn("segmentLT") + drawn("segmentRT") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentT") === 4){ | ||
Command('progress = 80'); | ||
} | ||
|
||
LevelCompleted(drawn("segmentLT") && drawn("segmentRT") && drawn("segmentLB") && drawn("segmentRB") && drawn("segmentT"),6); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
layout: default | ||
title: Level 23 | ||
lang: en | ||
number: 23 | ||
--- | ||
<p id="goal"> | ||
<b>Goal:</b> Construct a line (segment) tangent to both circles. Construct a outer tangent line. | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="/img/Level{{page.number}}.png"/ > | ||
</p> | ||
|
||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Go to <a href="/Level24/">level 24</a> ! | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level23.ggb %}" ; | ||
parameters.language = "en" | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
|
||
|
||
checkdirection("target3",0,0); | ||
checkdirection("target4",0,0); | ||
|
||
LevelCompleted(drawn("target3") || drawn("target4"),6); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
layout: default | ||
title: Level 24 | ||
lang: en | ||
number: 24 | ||
--- | ||
<p id="goal"> | ||
<b>Goal:</b> Construct a line (segment) tangent to both circles. Construct an inner tangent line. | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="/img/Level{{page.number}}.png"/ > | ||
</p> | ||
|
||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Go to <a href="/Level25/">level 25</a> ! | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level24.ggb %}" ; | ||
parameters.language = "en" | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
|
||
|
||
checkdirection("tangentT",0,0); | ||
checkdirection("targentB",0,0); | ||
|
||
LevelCompleted(drawn("targentT") || drawn("targentB"),6); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
layout: default | ||
title: Level 25 | ||
lang: en | ||
number: 25 | ||
--- | ||
<p id="goal"> | ||
<b>Goal:</b> Construct a regular pentagon inscribed in a circle | ||
</p> | ||
|
||
<p id="winningimg"> | ||
<img src="http://i.snag.gy/c8598.jpg"/ > | ||
</p> | ||
<div id="hidden" style="display: none"> | ||
<p id="level"> | ||
Euclid would be proud of you. You completed ALL levels !!! | ||
</p> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include parameters480p.js %} | ||
parameters.customToolBar = "501 | 5 | 15 | 18 | 10 | 100001 | 100002 | 9 | 4 | 3 | 100003 | 53"; | ||
parameters.ggbBase64 = "{% base64 ggb/Level25.ggb %}" ; | ||
parameters.language = "en" | ||
</script> | ||
|
||
<div id="applet_container"> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
{% include testobjects.js %} | ||
|
||
checkobject("pointL",0,0); | ||
checkobject("pointLB",0,0); | ||
checkobject("pointR",0,0); | ||
checkobject("pointRB",0,0); | ||
checkobject("pointT",0,0); | ||
checkdirection("segmentB"); | ||
checkdirection("segmentLB"); | ||
checkdirection("segmentRB"); | ||
checkdirection("segmentRT"); | ||
checkdirection("segmentLT"); | ||
|
||
|
||
if (drawn("segmentB") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentRT") + drawn("segmentLT") === 1){ | ||
Command('progress = 20'); | ||
} | ||
|
||
|
||
if (drawn("segmentB") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentRT") + drawn("segmentLT") === 2){ | ||
Command('progress = 40'); | ||
} | ||
|
||
|
||
if (drawn("segmentB") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentRT") + drawn("segmentLT") === 3){ | ||
Command('progress = 60'); | ||
} | ||
|
||
if (drawn("segmentB") + drawn("segmentLB") + drawn("segmentRB") + drawn("segmentRT") + drawn("segmentLT") === 4){ | ||
Command('progress = 80'); | ||
} | ||
|
||
|
||
LevelCompleted(drawn("segmentB") && drawn("segmentLB") && drawn("segmentRB") && drawn("segmentRT") && drawn("segmentLT"),10); | ||
|
||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.