/
index.html
146 lines (143 loc) · 4.47 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<!doctype html>
<html>
<head>
<title>10 Second Roguelike</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.1/underscore-min.js
"></script>
<script src="lib/rot.js"></script>
<script src="src/game.js"></script>
<script src="src/utility.js"></script>
<script src="src/objects.js"></script>
<script src="src/player.js"></script>
<script src="src/monsters.js"></script>
<script src="src/levels.js"></script>
<script src="src/names.js"></script>
<link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
<link href="styles.css" rel="stylesheet"></script>
</head>
<body>
<h1>10 Second Roguelike</h1>
<div id="container">
<div id="buttons">
<a id="helpButton">
<img src="images/help.png" title="Reference">
</a>
<a id="muteButton">
<img id="muteImg" src="images/mute-on.png" title="Mute">
</a>
</div>
<div id="gameArea">
<div id="canvasContainer"></div>
<div id="sidebar">
<div id="description">
Darkness has descended on Atalaria. A mighty Time Dragon has taken residence in the dungeon beneath the city and has warped the fabric of spacetime, causing the city's inhabitants to age at an accelerated rate.<br/></br/>
You have been chosen to venture into the dungeon and face the dragon there. You will surely fail, but perhaps one of your descendants will succeed.
</div>
<div id="countdown"></div>
<div class="stats">
<div class="name"></div>
<div class="level"></div>
<div class="meter">
<span class="xpBar"></span>
</div>
<div class="xp"></div>
<div class="hp"></div>
<div class="damage"></div>
<div class="speed"></div>
<div class="vision"></div>
<div class="location"></div>
</div>
<div id="shadowLog"></div>
<div id="log"></div>
</div>
<div id="chooseCharacter">
<div id="chooseCharacterCaption">
Choose your hero!
</div>
<div class="stats" id="char1">
<div class="key">1</div>
<div class="name"></div>
<div class="level"></div>
<div class="hp"></div>
<div class="damage"></div>
<div class="speed"></div>
<div class="vision"></div>
</div>
<div class="stats" id="char2">
<div class="key">2</div>
<div class="name"></div>
<div class="level"></div>
<div class="hp"></div>
<div class="damage"></div>
<div class="speed"></div>
<div class="vision"></div>
</div>
<div class="stats" id="char3">
<div class="key">3</div>
<div class="name"></div>
<div class="level"></div>
<div class="hp"></div>
<div class="damage"></div>
<div class="speed"></div>
<div class="vision"></div>
</div>
</div>
<div id="memoriam">
<div class="memoriamCaption">
<p>Congratulations, intrepid hero! You have slain the dragon and restored peace to Atalaria.</p>
<p>Give yourself a pat on the back. You done good.</p>
</div>
<div class="memoriamCaption">
<p><b>10 Second Roguelike</b> is a game by <a href="http://alex.nisnevich.com" target="_blank">Alex Nisnevich</a>.</p>
</div>
<div class="memoriamCaption">
<p>Special thanks to:</p>
</div>
<div id="thanks">
<div>Jacob</div>
<div>James</div>
<div>Jimmy</div>
<div>Natasha</div>
<div>Sam</div>
</div>
<div class="memoriamCaption">
<p>In memory of:</p>
</div>
<div id="heroes">
</div>
</div>
<div id="reference">
<h2>Reference</h2>
<table>
<tr>
<td class="symbol" style="color: green;">@</td>
<td class="definition">Player</td>
</tr>
<tr>
<td class="symbol" style="color: yellow;">+ -</td>
<td class="definition">Door (closed / open)</td>
</tr>
<tr>
<td class="symbol" style="color: #ccc;">x</td>
<td class="definition">Player corpse</td>
</tr>
<tr>
<td class="symbol" style="color: LightBlue;">></td>
<td class="definition">Stairs</td>
</tr>
<tr>
<td class="symbol" style="color: red;">a b c d D G H</td>
<td class="definition">Monsters</td>
</tr>
</table>
</div>
</div>
</div>
<div id="controls">
<div>Arrow Keys, Num Pad, or HJKL - move</div>
<div>1, 2, 3 - select character</div>
<div>P - pause</div>
</div>
</body>
</html>