forked from udacity/frontend-nanodegree-arcade-game
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
50 lines (50 loc) · 1.96 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Effective JavaScript: Frogger</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-12">
<h1 class="text-center text-capitalize">The Frogger Game!!!</h1>
</div>
</div>
<div class="row">
<div class="col-md-2">
<h3>Select your Avatar</h3>
<ul id="charlist">
<li class="characters" id="char_boy"></li>
<li class="characters" id="char_pink"></li>
<li class="characters" id="char_cat"></li>
</ul>
</div>
<div class="col-md-8">
<div id="game-canvas">
<canvas id="bgCanvas" style="z-index: 0" class="game"></canvas>
<canvas id="fgCanvas" style="z-index: 1" class="game"></canvas>
</div>
</div>
<div class="col-md-2" style="text-align: center">
<h3>Lives: <span id="counter"></span></h3>
<h3>Charms: </h3><div id="charms"></div>
</div>
</div>
</div>
<script src="js/resources.js"></script>
<script src="js/app.js"></script>
<script src="js/engine.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/webfont/1.5.10/webfont.js"> </script>
<script>
WebFont.load({
google: { families: [ 'Press+Start+2P::latin' ]}
});
</script>
<div style="font-family: 'Press Start 2P'"> </div>
</body>
</html>