-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
118 lines (102 loc) · 3.94 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/png" href="/favicon.png"/>
<meta name="description" content="Find a path for the knight that visits every square on the given table exactly once.">
<meta name="keywords" content="Knight, Chess, Puzzle, Game">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Knight's Tour</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-theme.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-60672049-1', 'auto');
ga('send', 'pageview');
</script>
<div class="container" style="text-align: center; margin-top: 35px;">
<center><h1>Knight's Tour 4x8</h1></center>
<div class="lol">
<img src="http://nooooooooooooooo.com/vader.jpg" />
</div>
<div class="game-area">
<table class="chess-table">
<tr>
<td class="field-white x-1 y-1 option"></td>
<td class="field-black x-1 y-2"></td>
<td class="field-white x-1 y-3"></td>
<td class="field-black x-1 y-4"></td>
<td class="field-white x-1 y-5"></td>
<td class="field-black x-1 y-6"></td>
<td class="field-white x-1 y-7"></td>
<td class="field-black x-1 y-8"></td>
</tr>
<tr>
<td class="field-black x-2 y-1"></td>
<td class="field-white x-2 y-2"></td>
<td class="field-black x-2 y-3"></td>
<td class="field-white x-2 y-4"></td>
<td class="field-black x-2 y-5"></td>
<td class="field-white x-2 y-6"></td>
<td class="field-black x-2 y-7"></td>
<td class="field-white x-2 y-8"></td>
</tr>
<tr>
<td class="field-white x-3 y-1"></td>
<td class="field-black x-3 y-2"></td>
<td class="field-white x-3 y-3"></td>
<td class="field-black x-3 y-4"></td>
<td class="field-white x-3 y-5"></td>
<td class="field-black x-3 y-6"></td>
<td class="field-white x-3 y-7"></td>
<td class="field-black x-3 y-8"></td>
</tr>
<tr>
<td class="field-black x-4 y-1"></td>
<td class="field-white x-4 y-2"></td>
<td class="field-black x-4 y-3"></td>
<td class="field-white x-4 y-4"></td>
<td class="field-black x-4 y-5"></td>
<td class="field-white x-4 y-6"></td>
<td class="field-black x-4 y-7"></td>
<td class="field-white x-4 y-8"></td>
</tr>
</table>
</div>
<hr>
<div class="btn btn-primary action-ponovo">New Game</div>
<div class="btn btn-default action-clear">Numbers</div>
<div class="btn btn-danger action-nooo">Nooo!</div>
<div class="btn btn-success action-solve">Solve!</div>
<div class="label label-default"><span class="result">0</span>/32</div>
<img id="loader" src="images/loader.gif">
<img src="images/horse.png" style="display: none;">
<img src="images/horse2.png" style="display: none;">
<hr>
<blockquote style="text-align: left; width: 600px; margin: 10px auto;">
<p>
A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square only once.
</p>
<footer>
from
<cite title="Source Title">Wikipedia</cite>
</footer>
</blockquote>
<audio id="nooo" style="display:none;" src="http://nooooooooooooooo.com/nooo.mp3" preload="auto"></audio>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/app.js"></script>
</body>
</html>