-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (67 loc) · 2.59 KB
/
index.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<script type="text/javascript" src="build/bundle.js" charset="UTF-8"></script>
<style type="text/css">
form, div {
display: block;
margin: 0 auto;
text-align: center;
}
#canvas_container {
width: 500px;
border: 1px solid gray(170);
}
</style>
</head>
<body>
<form>
<span>
<label for="game_size">Game size:</label>
<input id="game_size" type="number" min="4" max="15" value="4">
<input id="reset" type="button" value="New Game">
<input id="back" type="button" value="Undo Last Move">
</span>
</form>
<div id="canvas_container"></div>
<p>The object is to click as many light blue circles as possible. When clicked, the circle becomes black. Circles you
can not click turn green, while clickable circles turn light blue.</p>
<p>For your first move, you can click on any circle. Thereafter, you can only click on adjacent light blue circles.
After the first move, the next N moves (where N is the game size) must travel toward each edge of the triangle equal
to the distance to the edge of the initial circle. The number of remaining moves toward each edge appears beside
each edge.</p>
<p>Unfortunately, the circles change color according to some initially incomprehensible rules. For your first move you
can click on any of the circles. Thereafter you can only move to an adjacent circle, but not all adjacent circles
are possible. Note that any move between two adjacent circles moves closer to one edge of the triangle, further from
another and parallel to a third. (For the smaller games, the circle is labeled with the distance to the edges.)</p>
<p>After the first move, the next n moves, where n is the game size, must altogether have moves toward each edge equal
to the distance to the edge of the initial circle. (The number of remaining moves toward each edge are written next
to that edge.</p>
<p>After the first n moves, each move must move toward the edge that the move n moves ago moved away from. (The move n
moves ago is highlighted in blue.)</p>
<p>The known best possible scores are:</p>
<table>
<tr>
<th>Game Size</th>
<th>Best Possible Score</th>
</tr>
<tr>
<td>4</td><td>14</td>
</tr>
<tr>
<td>5</td><td>18</td>
</tr>
<tr>
<td>6</td><td>25</td>
</tr>
<tr>
<td>7</td><td>33</td>
</tr>
<tr>
<td>8</td><td>38</td>
</tr>
</table>
</body>
</html>