-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame-long.html
59 lines (52 loc) · 1.71 KB
/
game-long.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Monkey Memory</title>
<link href="assets/css/monkey-styles-v2.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="results-table-div" style="display: none">
<a id="start-again-button" href="#" onclick="location.reload(); return false;">Start Again</a>
<table>
<thead>
<tr>
<th>Score</th>
<th><span id="score">N/A</span></th>
</tr>
</thead>
<tbody id="result-rows-holder">
</tbody>
</table>
<div id="json-pane">
<a id="view-results-as-json" href="#" onclick="showJsonInPre(); return false;">View results as JSON</a>
<pre id="json-placeholder" style="display: none;"></pre>
</div>
</div>
<script src="assets/js/pixi.min.js"></script>
<script src="assets/js/howler.min.js"></script>
<script src="assets/js/highland.min.js"></script>
<script src="assets/js/handlebars.min-7535e48.js"></script>
<script src="app/levelDefinitions-long.js"></script>
<script src="app/monkey-memory.js"></script>
<script id="result-row-template" type="text/x-handlebars-template">
{{#each stats}}
<tr>
<td>Level {{this.level}}</td>
{{#if this.ordered}}
<td>
{{else}}
<td class="incorrect">
{{/if}}
<span>Clicked sequence: {{this.clickedOrder}}</span>
<ul>
<li>Time to first click: <span>{{this.firstClickTime}} ms</span></li>
<li>Level time: <span>{{this.totalTimeForLevel}} ms</span></li>
<li>Average time per click: <span>{{this.averageClickTime}} ms</span></li>
</ul>
</td>
</tr>
{{/each}}
</script>
</body>
</html>