generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
277 lines (276 loc) · 9.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WRESTLE~MATCH! Game - Home</title>
<meta name="author" content="Gary Hughes" />
<link rel="icon" type="image/png" href="assets/images/favicon.png" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2"
crossorigin="anonymous"
/>
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,300;1,400&family=Rubik&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="assets/css/style.css" type="text/css" />
<script
src="https://kit.fontawesome.com/ea1959dd8c.js"
crossorigin="anonymous"
></script>
</head>
<!-- Backgrounds -->
<body id="desktop-wrapper">
<div class="flex-container arena-bg">
<!-- Header -->
<header>
<i class="far fa-star"></i>
<i class="far fa-star"></i>
<i class="far fa-star"></i>
<i class="far fa-star"></i>
<div id="head-brand">
<a href="index.html" id="home-anchor">
<h1 style="display: flex;">
<span>
WRESTLE<i class="fas fa-wave-square"></i
><span>MATCH!</span></span
>
</h1>
</a>
</div>
<div class="five-stars">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
<h2>Memory Matching Game<span>By Gary Hughes</span></h2>
</header>
<main>
<!-- Main menu -->
<nav class="btn-group-vertical">
<button
type="button"
class="btn-lg btn-block nav-btn"
data-toggle="modal"
data-target="#chooseMode"
>
<i class="fas fa-star"></i>
START GAME
<i class="fas fa-star"></i>
</button>
<button
type="button"
class="btn-lg btn-block nav-btn"
data-toggle="modal"
data-target="#howToPlay"
>
<i class="fas fa-star"></i>
HOW TO PLAY
<i class="fas fa-star"></i>
</button>
</nav>
<!-- Modal to choose game mode -->
<div
class="modal fade"
id="chooseMode"
data-backdrop="static"
data-keyboard="false"
tabindex="-1"
aria-labelledby="chooseModeLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="chooseModeLabel">Choose Mode...</h2>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<ul class="btn-group-vertical">
<li class="btn-block">
<a
href="game.html?mode=fatal4"
id="easyButton"
class="btn-lg mode-name"
>
<i class="fas fa-star"></i>
FATAL 4 (Easy)
<i class="fas fa-star"></i>
</a>
</li>
<li class="btn-block">
<a
href="game.html?mode=kingofthering"
id="mediumButton"
class="btn-lg mode-name"
>
<i class="fas fa-star"></i>
KING OF THE RING (Medium)
<i class="fas fa-star"></i>
</a>
</li>
<li class="btn-block">
<a
href="game.html?mode=battleroyal"
id="hardButton"
class="btn-lg mode-name"
>
<i class="fas fa-star"></i>
BATTLE ROYAL (Hard)
<i class="fas fa-star"></i>
</a>
</li>
<li class="btn-block">
<a
href="game.html?mode=royalrumble"
id="extremeButton"
class="btn-lg mode-name"
>
<i class="fas fa-star"></i>
ROYAL RUMBLE (Extreme)
<i class="fas fa-star"></i>
</a>
</li>
</ul>
</div>
<div class="modal-footer">
<button
type="button"
class="btn-lg btn-block nav-btn"
data-dismiss="modal"
>
<i class="fas fa-star"></i>
RETURN
<i class="fas fa-star"></i>
</button>
</div>
</div>
</div>
</div>
<!-- Modal to see instructions -->
<div
class="modal fade"
id="howToPlay"
data-backdrop="static"
data-keyboard="false"
tabindex="-1"
aria-labelledby="howToPlayLabel"
aria-hidden="true"
>
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title" id="howToPlayLabel">How to Play...</h2>
<button
type="button"
class="close"
data-dismiss="modal"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<ol>
<li>
The aim: Match cards by their images until all cards have
been revealed and matched up.
</li>
<li>
You will receive a match rating as you play and a final
match rating based on how many moves it takes you to match
all the cards.
</li>
<li>
To start a game, select 'START GAME' from the main menu.
</li>
<li>
Select one of the four game modes, listed in order of
difficulty from 'Easy' at the top to 'Extreme' at the
bottom.
</li>
<li>
You are now presented with a score panel and game board with
a number of blank or unflipped cards.
</li>
<li>
The score panel includes a match rating, number of attempted
matches or moves, game duration time and restart button to
reset the whole game.
</li>
<li>
The game starts as soon as the first card selection is made
and the clock starts ticking.
</li>
<li>
To go back to the main menu, click or tap on the 'WRESTLE<i
class="fas fa-wave-square"
></i
>MATCH!' heading.
</li>
</ol>
</div>
<div class="modal-footer">
<div class="container-fluid">
<div class="row">
<button
type="button"
class="btn-lg col-4 nav-btn"
data-dismiss="modal"
>
<i class="fas fa-star"></i>
RETURN
<i class="fas fa-star"></i>
</button>
<button
type="button"
class="btn-lg col-4 ml-auto nav-btn"
data-dismiss="modal"
data-toggle="modal"
data-target="#chooseMode"
>
<i class="fas fa-star"></i>
PLAY
<i class="fas fa-star"></i>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Footer -->
<footer>
<p>
WRESTLE-MATCH!<br />© Copyright 2020 Gary Hughes<br />All rights
reserved.
</p>
</footer>
</div>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx"
crossorigin="anonymous"
></script>
</body>
</html>