-
Notifications
You must be signed in to change notification settings - Fork 3
/
pentomino.puzzle.html
74 lines (72 loc) · 2.24 KB
/
pentomino.puzzle.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
70
71
72
73
74
<html>
<head>
<title>Pentominos Puzzle</title>
<meta http-equiv="X-UA-Compatible" content="chrome=1, IE=edge">
<meta name="description" content="Pentominos Puzzle Solver (智慧拼盤)">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="pentomino.ico" rel="shortcut icon" >
<style>
body {
margin: 1px;
padding: 1px;
}
#newButton, #demoButton {
background: transparent;
border: 0;
}
#hintsButton, #newButton, #resetButton, #demoButton {
width: 50px;
padding: 5px;
display: block;
margin-top: 5px;
}
select {
width: 80px;
}
#checkboxtext, input, select {
font: 15px arial;
visibility: hidden;
}
#startButton {
width: 100px;
padding: 5px;
display: block;
margin-top: 5px;
font: 20px arial;
}
</style>
<script src="kineticJS/kinetic-v4.4.3.min.js"></script>
<script src="animate.js"></script>
<script src="polyDemo.js"></script>
<script src="pentomino.puzzle.js"></script>
<script src="polySolution.js"></script>
<script src="polyomino5.js"></script>
</head>
<body>
<div id="container"></div>
<div id="boardSize">
<select id="boardSizeButton" onchange="boardSizeButton(this.value);">
<option value="1" > 5X6 </option>
<option value="2"> 5X8 </option>
<option value="3"> 5X10 </option>
<option value="4"> 6X10 </option>
</select>
</div>
<div id="level">
<select id="levelButton" onchange="levelButton(this.value);">
<option value="1">Level 1</option>
<option value="2">Level 2</option>
<option value="3">Level 3</option>
<option value="4">Level 4</option>
</select>
</div>
<div id="hints"><input type="button" id="hintsButton" onclick="hintsButton();" value="Hints"></div>
<div id="reset"><input type="button" id="resetButton" onclick="resetButton();" value="Reset"></div>
<div id="check"><input type="checkbox" id="checkButton" onclick="checkButton(this.checked);">
<span id="checkboxtext">Check Solution</span>
</div>
<div id="start"><input type="button" id="startButton" onclick="startButton(1);" value="Play"></div>
<div id="new"><input type="button" id="newButton" onclick="createPuzzle(1, true);" value=""></div>
<div id="demo"><input type="button" id="demoButton" onclick="demoButton(1);" value=""></div>
</body>
</html>