-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
56 lines (53 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Game</title>
<style media="screen">
html,
body {
background-color: #91AA9D;
font: 18px sans-serif;
color: #193441;
margin: 0;
padding: 0;
}
.help-outer {
position: fixed;
z-index: 99999;
top: 0;
left: 0;
display: none;
width: 100%;
height: 100%;
background-color: #91AA9D;
}
.help-inner {
display: table-cell;
vertical-align: middle;
}
.help-content {
max-width: 450px;
margin: 0 auto;
}
</style>
</head>
<body>
<canvas></canvas>
<div class="help-outer">
<div class="help-inner">
<div class="help-content">
<p>Your goal is to reposition the tiles in ascending order from 1 (the top left corner) to 15 counting left to right. The hole has to be in the bottom right corner.</p>
<p>You can move the tiles in the following ways:</p>
<ul>
<li>using the arrow keys. This moves just one tile</li>
<li>using WASD. That moves the whole row/column</li>
<li>by clicking/tapping an appropriate tile</li>
</ul>
<p>To get back to the game use «ESC» and to reset the game use «SPACE»</p>
<p><strong>Good luck! The clock is ticking!</strong></p>
</div>
</div>
</div>
<script src="dist/game.min.js"></script>
</body>
</html>