-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (98 loc) · 3.8 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
<!DOCTYPE html>
<html>
<head>
<title>JavaScript: Frogger</title>
<link href='https://fonts.googleapis.com/css?family=Averia+Libre:700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/style.css">
<script src="js/jquery.js"></script>
<script src="js/jquery-ui.js"></script>
</head>
<body>
<header>
<h1>Frogger Arcade Game</h1>
</header>
<div id="container">
<aside class="left">
<h2>Game Rules</h2>
<table>
<tr>
<td><img src="images/arrows.png" alt="Arrows"></td>
<td>move player</td>
</tr>
<tr>
<td class="small"><img src="images/water-block.png" alt="Water block"></td>
<td>reach the water <br>(20 pts and continue)</td>
</tr>
<tr>
<td class="small"><img src="images/grass-block.png" alt="Grass block"></td>
<td>safe zone</td>
</tr>
<tr>
<td class="small"><img src="images/enemy-bug.png" alt="Enemy bug"></td>
<td>avoid the bug</td>
</tr>
<tr>
<td class="small"><img src="images/Rock.png" alt="Rock"></td>
<td>obstacle</td>
</tr>
<tr>
<td class="small">
<img src="images/Heart.png" alt="Heart">
<img src="images/Star.png" alt="Star">
<img src="images/Key.png" alt="Key">
</td>
<td>collect = 10 pts (each)</td>
</tr>
<tr>
<td class="small">
<img src="images/Gem Blue.png" alt="Gem Blue">
<img src="images/Gem Green.png" alt="Gem Green">
<img src="images/Gem Orange.png" alt="Gem Orange">
</td>
<td>collect = 30 pts (each)</td>
</tr>
<tr>
<td class="small"><img src="images/Selector.png" alt="Selector"></td>
<td>collect = 50 pts</td>
</tr>
</table>
</aside>
<div id="main">
<h2>
Score: <span id="score">0</span>
Remaining Time: <span id="timer">30</span>
</h2>
<img id="mute-sound-symbol" src="images/volumecontrol.png" alt="Mute">
<img id="play-sound-symbol" src="images/sound64.png" alt="Sound">
</div>
<aside class="right">
<div id="players">
<h2>Choose a player</h2>
<div class="crop">
<img id="char-boy" src="images/char-boy.png" alt="Boy">
</div>
<div class="crop">
<img id="char-cat-girl" src="images/char-cat-girl.png" alt="Cat Girl">
</div>
<div class="crop">
<img id="char-horn-girl" src="images/char-horn-girl.png" alt="Horn Girl">
</div>
<div class="crop">
<img id="char-pink-girl" src="images/char-pink-girl.png" alt="Pink Girl">
</div>
<div class="crop">
<img id="char-princess-girl" src="images/char-princess-girl.png" alt="Princess Girl">
</div>
</div>
</aside>
</div>
<footer>
<h3>Created by Parmeet Singh</h3>
</footer>
<script src="js/character.js"></script>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</body>
</html>