-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (48 loc) · 1.98 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css">
<title>15 Puzzle</title>
</head>
<body onload="shuffle();" onselectstart="return false;" onmousedown="return false;">
<div class="numbers">
<div class="purple number" id="1"><p>1</p></div>
<div class="purple number" id="2"><p>2</p></div>
<div class="purple number" id="3"><p>3</p></div>
<div class="purple number" id="4"><p>4</p></div>
<div class="blue number" id="5"><p>5</p></div>
<div class="skyblue number" id="6"><p>6</p></div>
<div class="skyblue number" id="7"><p>7</p></div>
<div class="skyblue number" id="8"><p>8</p></div>
<div class="blue number" id="9"><p>9</p></div>
<div class="green number" id="10"><p>10</p></div>
<div class="greenyellow number" id="11"><p>11</p></div>
<div class="greenyellow number" id="12"><p>12</p></div>
<div class="blue number" id="13"><p>13</p></div>
<div class="green number" id="14"><p>14</p></div>
<div class="yellow number" id="15"><p>15</p></div>
<div class="empty" id="0"><p>0</p></div>
</div>
<div class="function">
<div>
<a>Time: </a>
<a id="time">0:00.0</a>
</div>
<div>
<a>Moves: </a>
<a id="moves">0</a>
</div>
<div class="button" onmousedown="shuffle()">
Shuffle
</div>
<div class="block" onmousedown="location.href='https://atsunemogi.github.io/8-puzzle/'">
8 Puzzle
</div>
<div class="block" onmousedown="location.href='https://atsunemogi.github.io/24-puzzle/'">
24 Puzzle
</div>
</div>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>