-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (43 loc) · 2.06 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
<!doctype html>
<html>
<head>
<title>Board Puzzle</title>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<div id="board"></div>
<div id="controls">
<div class="logo">
<span>Slide</span><span>Puzzle</span>
</div>
<div style="position: absolute;width: 100%;text-align: center;">
<button type="button" onClick="moveUsingMoves(solve())"><span class="lnr lnr-dice"></span>Solve</button>
<button type="button" onClick="shuffle()"><span class="lnr lnr-sync"></span>Shuffle</button>
<select id="size">
<option value="2">2x2</option>
<option value="3">3x3</option>
<option value="4" selected>4x4</option>
<option value="5">5x5</option>
<option value="6">6x6</option>
<option value="7">7x7</option>
</select>
</div>
<div class="github">
<a class="github-button" href="https://github.com/naumanumer/slidepuzzle" data-icon="octicon-star" data-size="large" data-show-count="true"
aria-label="Star naumanumer/slidepuzzle on GitHub">Star</a>
<a class="github-button" href="https://github.com/naumanumer/slidepuzzle/fork" data-icon="octicon-repo-forked" data-size="large"
aria-label="Fork naumanumer/slidepuzzle on GitHub">Fork</a>
<a class="github-button" href="https://github.com/naumanumer/slidepuzzle/issues" data-icon="octicon-issue-opened" data-size="large"
aria-label="Issue naumanumer/slidepuzzle on GitHub">Issue</a>
</div>
</div>
<div id="console"></div>
<script src="./jquery.min.js"></script>
<script src="./jquery.easing.js"></script>
<script src="./layout.js"></script>
<script src="./movements.js"></script>
<script src="./solution.js"></script>
</body>
</html>