-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (39 loc) · 932 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>Spacerogue</title>
<script type="text/javascript" src="rot.js"></script>
<script type="text/javascript" src="spacerogue.js"></script>
<style>
body {
background-color: black;
color: white;
}
a {
color: #0aa;
}
</style>
</head>
<body onload="Game.init()">
<h1>SpaceRogue</h1>
<pre id="win" style="display:none;">
_
( ((
\ =\
__\_ `-\
(____))( \-----
(____)) _ YOU DIDN'T DIE.
(____)) CONGRATS.
(____))____/----
</pre>
<div id="display" style="float:left;"></div>
<div id="legend">
<p style="color:#3f3;">@ you
<p style="color:yellow;">collect <span id="partsLeft"></span> (p)arts
<p style="color:#f00;">avoid (g)oblins
<p><b>z</b> to fire Lazers
</div>
<audio id="music" loop control src="loop.ogg" preload="auto"></audio>
<audio id="pressure" src="pressure.wav" preload="auto"></audio>
</body>
</html>