-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (64 loc) · 1.58 KB
/
index.html
File metadata and controls
68 lines (64 loc) · 1.58 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
<!-- ======================
8-Puzzle Game
Artificial Intelligence
FCT - Unesp
Author: Vagner Santana
RA: 1288549
====================== -->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>8-Puzzle Game - Vagner Santana | AI</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<main class="app-container">
<header>
<h1>8-Puzzle Game</h1>
<h2>Artificial Intelligence</h2>
</header>
<div class="game">
<ul>
<li id="sq-1" class="square">
<div id="pc-1">1</div>
</li>
<li id="sq-2" class="square">
<div id="pc-2">2</div>
</li>
<li id="sq-3" class="square">
<div id="pc-3">3</div>
</li>
<li id="sq-4" class="square">
<div id="pc-4">4</div>
</li>
<li id="sq-5" class="square">
<div id="pc-5">5</div>
</li>
<li id="sq-6" class="square">
<div id="pc-6">6</div>
</li>
<li id="sq-7" class="square">
<div id="pc-7">7</div>
</li>
<li id="sq-8" class="square">
<div id="pc-8">8</div>
</li>
<li id="sq-9" class="square free">
</li>
</ul>
</div>
<div class="options">
<button id="mix" class="btn">Shuffle</button>
<button id="solve" class="btn">Solve with Bot</button>
<input type="number" id="moves" value="" placeholder="# of moves">
<p id="moves_num"></p>
<p id="bot_message"></p>
</div>
<footer>
<p>Author: Vagner Santana | <a href="https://github.com/vagnervjs/8-puzzle-js" target="_blank" rel="noopener noreferrer">View on GitHub</a></p>
</footer>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>