-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (50 loc) · 2.27 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
<!--HTML file for Arcade game*/-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Arcade Game using Javascript</title>
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,900" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz"
crossorigin="anonymous">
</head>
<body>
<header class="hdr">
<h1>Classic Arcade Game</h1>
</header>
<main class="container">
<div>
<!--select dropdown list having avatars to choose from-->
<select class="avatar" name="avatar">
<option class="options" value="Avatar" selected="selected">Avatar</option>
<option class="options" value="Super Boy">Super Boy</option>
<option class="options" value="Cat Woman">Cat Woman</option>
<option class="options" value="Super Girl">Super Girl</option>
<option class="options" value="Barbie Girl">Barbie Girl</option>
<option class="options" value="Princess">Princess</option>
</select>
<!--Available lives-->
<span><i class="fas fa-heartbeat heart"></i> : <span class="lives">3</span></span>
<!--Timer-->
<span class="hour-glass">⏳ : </span><span class="timer">00:00:00</span>
<!--help and restart buttons-->
<button class="help">Help</button>
<button class="restart">Restart</button>
</div>
<!--Help modal display-->
<div class="help-modal">
<div class="help-content">
<span class="close">×</span>
<p>Use the Arrow keys and move your Avatar towards the river destination.<br>Make sure you dont get run
over by
the vehicles.<br>Catch all the gems,
hearts and keys on your way to gain more lives.<br>You loose when your lives become Zero.<br>Have fun!!!☺</p>
</div>
</div>
</main>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</body>
</html>