-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (65 loc) · 1.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Tetris Cube Solver</title>
<meta charset="utf-8" />
</head>
<style>
table{
border-collapse: collapse;
text-align: left;
}
thead{
border: 1px solid black;
border-bottom: 3px solid black;
}
th, td {
border: 1px solid black;
padding: 3px;
}
</style>
<body>
<!-- Import p5 -->
<script src="p5.min.js"></script>
<!-- Run the script -->
<script src="toolbox.js"></script>
<script src="rotation.js"></script>
<script src="pieces.js"></script>
<script src="solver.js"></script>
<script src="solverdlx.js"></script>
<script src="puzzlecube.js"></script>
<script src="script.js"></script>
<!-- Create stats table-->
<table style = "position:absolute; left:620px; top:80px;">
<thead>
<tr>
<th rowspan ="2">Stats</th>
<th colspan ="2" width="115">Simple Recursive Backtracking</th>
<th colspan ="2" width="115">Algorithm X and Dancing Links</th>
</tr>
<tr>
<th>Soma</th>
<th>Tetris</th>
<th>Soma</th>
<th>Tetris</th>
</tr>
</thead>
<tbody>
<tr id ="rSol">
<td># Solutions found</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr id ="rAvg">
<td width = "90">Avg. time taken per solution (ms)</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</tbody>
</table>
</body>
</html>