-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
286 lines (250 loc) · 9.67 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Gauntlet</title>
<link href='https://fonts.googleapis.com/css?family=Press+Start+2P' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=VT323' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Lato:400,300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="styles/gauntlet.css">
</head>
<body>
<article id="game-container">
<section id="player-setup" class="card card--name">
<div class="card__prompt">
<div>RECORD YOUR NAME, ADVENTURER</div>
<div class="field">
<input type="text" autofocus="true" id="player-name" class="field__textinput">
</div>
</div>
<div class="card__button">
<a class="card__link btn btn--big btn--orange" id="name_selected"
href="#"
next="card--class">
<span class="btn__prompt"></span>
<span class="btn__text">Select class</span>
</a>
</div>
</section>
<!-- class select view *********************************************** -->
<section id="class-select" class="card card--class">
<div class="card__prompt">
<div>CHOOSE YOUR PATH</div>
<div>
<a class="card__back btn btn--small"
href="#"
previous="card--name">
<span class="btn__prompt"><</span>
<span class="btn__text">Back</span>
</a>
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-sm-4">
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Warrior">
<span class="btn__prompt">></span>
<span class="btn__text">Warrior</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Valkyrie">
<span class="btn__prompt">></span>
<span class="btn__text">Valkyrie</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Berserker">
<span class="btn__prompt">></span>
<span class="btn__text">berserker</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Monk">
<span class="btn__prompt">></span>
<span class="btn__text">Monk</span>
</a>
</div>
</div>
<div class="col-sm-4">
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Wizard">
<span class="btn__prompt">></span>
<span class="btn__text">Wizard</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Sorcerer">
<span class="btn__prompt">></span>
<span class="btn__text">Sorcerer</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Conjurer">
<span class="btn__prompt">></span>
<span class="btn__text">Conjurer</span>
</a>
</div>
</div>
<div class="col-sm-4">
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Thief">
<span class="btn__prompt">></span>
<span class="btn__text">Thief</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Ninja">
<span class="btn__prompt">></span>
<span class="btn__text">Ninja</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--blue" href="#" player="Assassin">
<span class="btn__prompt">></span>
<span class="btn__text">Assassin</span>
</a>
</div>
<div class="card__button">
<a class="class__link btn btn--big btn--yellow" href="#" player="surprise">
<span class="btn__prompt">></span>
<span class="btn__text">Surprise Me</span>
</a>
</div>
</div>
</div>
</div>
<div class="card__button">
<a class="card__link btn btn--big btn--orange"
href="#"
next="card--weapon">
<span class="btn__prompt"></span>
<span class="btn__text">Select weapon</span>
</a>
</div>
</section>
<!-- weapon select view ****************************************** -->
<section id="weapon-select" class="card card--weapon">
<div class="card__prompt">
<div>Choose Your Weapon</div>
<div>
<a class="card__back btn btn--small"
href="#"
previous="card--class">
<span class="btn__prompt"><</span>
<span class="btn__text">Back</span>
</a>
</div>
</div>
<div class="col-sm-4">
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="BroadSword">
<span class="btn__prompt">></span>
<span class="btn__text">Broadsword</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="WarAxe">
<span class="btn__prompt">></span>
<span class="btn__text">Waraxe</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Mace">
<span class="btn__prompt">></span>
<span class="btn__text">Mace</span>
</a>
</div>
</div>
<div class="col-sm-4">
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Staff">
<span class="btn__prompt">></span>
<span class="btn__text">Staff</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Book">
<span class="btn__prompt">></span>
<span class="btn__text">Spellbook</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Wand">
<span class="btn__prompt">></span>
<span class="btn__text">Wand</span>
</a>
</div>
</div>
<div class="col-sm-4">
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Dagger">
<span class="btn__prompt">></span>
<span class="btn__text">Dagger</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Katana">
<span class="btn__prompt">></span>
<span class="btn__text">Katana</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--blue" href="#" player="Longbow">
<span class="btn__prompt">></span>
<span class="btn__text">Longbow</span>
</a>
</div>
<div class="card__button">
<a class="weapon__link btn btn--big btn--yellow" href="#" player="surprise">
<span class="btn__prompt">></span>
<span class="btn__text">surprise me</span>
</a>
</div>
</div>
<div class="card__button">
<a class="card__link btn btn--big btn--orange"
href="#"
next="card--battleground"
id="defeatBtn">
<span class="btn__prompt"></span>
<span class="btn__text">defeat your enemies</span>
</a>
</div>
</section>
<!-- battleground view ************************************************** -->
<section id="battleground" class="card card--battleground">
<div class="container">
<div class="panel panel-success col-md-6">
<div class="panel-heading playerName">Player</div>
<div class="panel-body playerStats">Stats</div>
</div>
<div class="panel panel-danger col-md-6">
<div class="panel-heading enemyName">Enemy</div>
<div class="panel-body enemyStats">Stats</div>
</div>
<div class="col-md-12 battleDiv">
</div>
<div class="card__button">
<button type="button" class="btn btn--big btn--orange" id="attackBtn">
<span class="btn__prompt"></span>
<span class="btn__text">Attack</span>
</a>
</div>
<div class="overlayWin"><p>You Win!</p></div>
<div class="overlayLose"><p>You Lose!</p></div>
</div>
</div>
</section>
</article>
<script src="http://code.jquery.com/jquery-1.11.2.min.js"></script>
<script src="javascripts/weapons.js"></script>
<script src="javascripts/classes.js"></script>
<script src="javascripts/spells.js"></script>
<script src="javascripts/player.js"></script>
<script src="javascripts/enemies.js"></script>
<script src="javascripts/app.js"></script>
</body>
</html>