forked from kasperpeulen/euclidthegame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level3.html
50 lines (40 loc) · 1.01 KB
/
Level3.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
layout: default
title: Level 3
cat: level
number: 3
---
<p id="goal">
<b>Goal:</b> Construct a line (segment) that bisects the given angle.
</p>
<p id="winningimg">
<img src="/img/Level3.png"/ >
</p>
<div id="hidden" style="display: none">
<p id="level">
You unlocked a new tool: Constructing a bisector! Go to <a href="/Level4/">level 4</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/Level3.ggb %}" ;
parameters.language = "en"
</script>
<div id="applet_container">
</div>
<script type="text/javascript">
{% include testobjects.js %}
checkpointontarget("bisect",0.5,0);
checkdirection("bisect",-1,0);
checkpointontarget("a",-0.3,0.3);
checkpointontarget("b",-0.3,0.3);
if (drawn("pa") || drawn("pb")){
Command('progress = 10');
}
if (drawn("pbisect")){
Command('progress = 50');
}
LevelCompleted(drawn("bisect"),3);
}
</script>