-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (66 loc) · 1.92 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Chimpanzee Memory</title>
<style>
body {
background-color: DarkSlateGray;
margin: 0;
}
#levels {
margin: 0;
border: 0;
text-align: center;
}
#levels span {
display: inline-block;
padding: 10px 7px;
margin: 0;
border: 0;
background-color: DarkSlateGray;
}
#levels span.active {
background-color: MidnightBlue;
}
#levels button {
font-family: sans-serif;
font-weight: bold;
font-size: 70px;
width: 100px;
height: 100px;
color: DarkSlateGray;
background-color: Beige;
border: 0;
}
#levels span.active button {
color: MidnightBlue;
}
#canvas {
display: block;
margin: auto;
background-color: MidnightBlue;
border: 2px solid Beige;
}
</style>
</head>
<body>
<div id="levels">
<!--
--><span><button id="level3">3</button></span><!--
--><span><button id="level4">4</button></span><!--
--><span><button id="level5">5</button></span><!--
--><span><button id="level6">6</button></span><!--
--><span><button id="level7">7</button></span><!--
--><span><button id="level8">8</button></span><!--
--><span><button id="level9">9</button></span><!--
-->
</div>
<div>
<canvas id="canvas" width="800" height="600">PLEASE ENABLE JAVASCRIPT</canvas>
</div>
<script type="text/javascript" src="./target/scala-2.11/chimpanzee-memory-jsdeps.min.js"></script>
<script type="text/javascript" src="./target/scala-2.11/chimpanzee-memory-opt.js"></script>
<script type="text/javascript" src="./target/scala-2.11/chimpanzee-memory-launcher.js"></script>
</body>
</html>