-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (71 loc) · 2.22 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Boulder Dash</title>
<link rel="icon" type="image/x-icon" href="./rockford.ico">
<meta name="description" content="Boulder Dash">
<meta name="author" content="Mario T. Lanza">
<link rel="stylesheet" href="./main.css">
<script type="module" src="./main.js"></script>
</head>
<body>
<div id="stats">
<div id='scoring'>
<span id="needed"></span>
<span data-char='diamond'></span>
<span id="worth" class="bright"></span>
</div>
<div id='extra-scoring'>
<span data-char='diamond'></span>
<span data-char='diamond'></span>
<span data-char='diamond'></span>
<span id="extras" class="bright"></span>
</div>
<div id='game-over'>
<span data-char='g'></span>
<span data-char='a'></span>
<span data-char='m'></span>
<span data-char='e'></span>
<span data-char=' '></span>
<span data-char='o'></span>
<span data-char='v'></span>
<span data-char='e'></span>
<span data-char='r'></span>
</div>
<span id="collected"></span>
<span id="lives"></span>
<span id="time" class="bright"></span>
<span id="score" class="bright"></span>
</div>
<div id="stage"></div>
<div id="hint"></div>
<div id="title" class="bright"></div>
<dialog id="game" class="bright" open>
<div id='game-title'>
<span data-char='b'></span>
<span data-char='o'></span>
<span data-char='u'></span>
<span data-char='l'></span>
<span data-char='d'></span>
<span data-char='e'></span>
<span data-char='r'></span>
<span data-char=' '></span>
<span data-char='d'></span>
<span data-char='a'></span>
<span data-char='s'></span>
<span data-char='h'></span>
</div>
<article>
Created by Peter Liepa and Chris Gray<br>
Recreated in <a href="https://github.com/mlanza/boulder-dash">Atomic</a> by Mario T. Lanza<br><br>
<b>Controls:</b><br>
Arrow Keys to move<br>
Arrow Keys + Shift to push/collect in place<br>
Escape to abort<br>
Space to toggle pause<br><br><br>
<span>Press ENTER to begin</span>
</article>
</div>
</body>
</html>