forked from kasperpeulen/euclidthegame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Level11.html
52 lines (45 loc) · 1.34 KB
/
Level11.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
51
52
---
layout: default
title: Level 11
cat: level
lang: en
number: 11
---
<p id="goal"><b>Goal:</b> Construct a triangle whose sides have the same length as the given segments. Use segment AB as base.
</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="/Level12/">Level 12</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/Level11.ggb %}" ;
</script>
<div id="applet_container">
</div>
<script type="text/javascript">
{% include testobjects.js %}
checksegment("target1a",-0.5,0);
checksegment("target2a",-0.5,0);
checksegment("target3a",-0.5,0);
checksegment("target4a",-0.5,0);
checksegment("target1b",0.5,0);
checksegment("target2b",0.5,0);
checksegment("target3b",0.5,0);
checksegment("target4b",0.5,0);
if (drawn("target1a")||drawn("target1b")||drawn("target2a")||drawn("target2b")||drawn("target3a")||drawn("target3b")||drawn("target4a")||drawn("target4b")){
Command('progress = 50');
}
LevelCompleted(
(drawn("target1a")&& drawn("target1b"))||
(drawn("target2a")&& drawn("target2b"))||
(drawn("target3a")&& drawn("target3b"))||
(drawn("target4a")&& drawn("target4b"))
,4);
}
</script>