forked from udacity/frontend-nanodegree-arcade-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (63 loc) · 2.06 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Flee!</title>
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Chewy" rel="stylesheet">
</head>
<body>
<!-- GAME TOP PANEL -->
<div class="panel">
<div class="level">
<h4>Level</h4>
<span class="level-number">0</span>
</div>
<div class="lives">
<h4>Lives</h4>
<div id="lives_container"></div>
</div>
<div class="score">
<h4>Score</h4>
<span class="points">0</span>
</div>
</div>
<!-- /GAME TOP PANEL -->
<!-- GAME CANVAS -->
<div id="canvas_container">
</div>
<!-- /GAME CANVAS -->
<!-- START SCREEN -->
<div id="startScreen" class="modal-container">
<div class="modal">
<h2>Flee!</h2>
<h3>How to Play</h3>
<p>Use the arrow keys to reach the water and don't hit the bugs!</p>
<input id="playGame" type="button" class="button" value="Play">
</div>
</div>
<!-- /START SCREEN -->
<!-- GAME OVER SCREEN -->
<div id="gameOverScreen" class="modal-container game-over">
<div class="modal">
<h2>Game Over</h2>
<h3>Final Score</h4>
<p><span class="points-finalScore">0</span></p>
<input id="tryAgain" type="button" class="button" value="Try Again">
</div>
</div>
<!-- /GAME OVER SCREEN -->
<!-- ARROW DIRECTIONS PANEL -->
<div class="arrow_directions">
<button id="arrow-left"><i class="fa fa-chevron-circle-left arrow_control"></i></button>
<button id="arrow-up"><i class="fa fa-chevron-circle-up arrow_control"></i></button>
<button id="arrow-down"><i class="fa fa-chevron-circle-down arrow_control"></i></button>
<button id="arrow-right"><i class="fa fa-chevron-circle-right arrow_control"></i></button>
</div>
<!-- /ARROW DIRECTIONS PANEL -->
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
</body>
</html>