-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (88 loc) · 4.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>My Game</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- google fonts -->
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<!-- custom CSS -->
<link rel="stylesheet" href="css/style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3">
<h1 class="text-left">P-man<br/>Games</h1>
<h3>Instructions</h3>
<ol class="text-left instruction">
<li><i class="fa fa-long-arrow-left" aria-hidden="true"></i> Move Left</li>
<li><i class="fa fa-long-arrow-right" aria-hidden="true"></i> Move Right</li>
<li><i class="fa fa-long-arrow-up" aria-hidden="true"></i>
Move Up</li>
<li><i class="fa fa-long-arrow-down" aria-hidden="true"></i> Move Down</li>
<li><i class="fa fa-fighter-jet" aria-hidden="true"></i> Collect all KEYS & GEMS to Win</li>
<li><i class="fa fa-ambulance" aria-hidden="true"></i>
Player dies if any collision with bugs</li>
<li><i class="fa fa-flag-checkered" aria-hidden="true"></i> Collect 100 points to win</li>
</ol>
</div>
<div class="col-sm-6">
<div class="sectionTwo">
<h3>Select Your Avatar</h3>
<ul class="playerSelect list-inline">
<li><img src="images/char-boy.png"/></li>
<li><img src="images/char-horn-girl.png"></li>
<li><img src="images/char-pink-girl.png"></li>
<li><img src="images/char-princess-girl.png"></li>
</ul>
<br/>
<button class="btn btn-default" id="startGame">Start Game</button>
</div>
<div class="sectionThree hide">
<div id="canvas"></div>
</div>
<div class="sectionFive hide">
<h2>Loser!!!!</h2>
<img src="images/boo.gif" class="img-responsive lost "/>
<div>
<button class="btn btn-default refreshGame">Try Again?</button>
</div>
</div>
<div class="sectionFour hide">
<h2>WINNER</h2>
<img src="images/yahooo.gif" class="img-responsive"/>
<div>
<button class="btn btn-default refreshGame">Play Again?</button>
</div>
</div>
</div>
<div class="col-sm-3">
<div class="scoreBoard">
<h4> Score <span class="score"></span></h4>
<h4> Lives <span class="lives"></span></h4>
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- font awesome -->
<script src="https://use.fontawesome.com/215fffee93.js"></script>
<script src="js/app.js"></script>
<script src="js/resources.js"></script>
<script src="js/engine.js" defer></script>
</body>
</html>