-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblackbox.html
More file actions
34 lines (34 loc) · 764 Bytes
/
blackbox.html
File metadata and controls
34 lines (34 loc) · 764 Bytes
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
<!DOCTYPE html>
<html>
<head>
<script src="blackbox.js"></script>
<style>
body,html {
margin:0;
padding:0;
background-color:#444444;
}
#controls {
position:fixed;
left:0;
top:0;
}
</style>
</head>
<body style="height:100%;">
<div id="gameWrapper" style="height:100%;">
<svg id="gameCanvas" viewBox="0 0 1000 1000" width="100%" height="100%" xmlns:xlink="http://www.w3.org/1999/xlink">
<rect width="1000" height="1000" fill="#444444"/>
</svg>
</div>
<div id="controls">
<button onclick="blackBox.play.checkGuesses()">Check Guesses</button>
<button>Reset</button>
</div>
<script>
blackBox.drawing.board();
blackBox.grid.init();
blackBox.setup.molecule(4);
</script>
</body>
</html>