-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·72 lines (68 loc) · 1.18 KB
/
index.html
File metadata and controls
executable file
·72 lines (68 loc) · 1.18 KB
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
<html>
<head>
<style>
#canvas {
position: relative;
border: 1px solid #eee;
width: 384px;
height: 384px;
left: 50%;
margin-left: -192px;
}
#results {
position: relative;
width: 100%;
border: 1px solid #eee;
}
#results-all table,
#results table {
width: 100%;
}
body {
margin-left: 120px;
margin-right: 120px;
}
.container {
position: relative;
width: 500px;
margin-left: -250px;
left: 50%;
}
</style>
<script src="binary/soko-compiled.js"></script>
</head>
<body>
<div class="container">
<div>
<h3 id="name"></h3>
<canvas id="canvas" width='384' height='384'>
</canvas>
</div>
<button id="prev">prev</button>
<button id="next">next</button>
<button id="solve">solve</button>
<button id="move">move</button>
<button id="solve-all">solve all</button>
<div>
<h3>Heuristic values</h3>
<div id="heuristics">
</div>
</div>
<div>
<h3>Solution stats</h3>
<div id="results">
</div>
</div>
<div>
<h3>All solution stats</h3>
<div id="results-all">
</div>
</div>
</div>
<script>
new soko.Game();
</script>
</body>
</html>