forked from chompasina/gametime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
83 lines (74 loc) · 3.34 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Game Time</title>
<link href="https://fonts.googleapis.com/css?family=Bungee+Inline" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<!-- 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">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- 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>
</head>
<body>
<audio autoplay loop>
<source src="audio/Get_Outside.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
<h1 id="title">Empty Calorie Overlord</h1>
<h1 id="title">& the Health Food Revival</h1>
<div id="healthometer-container"></div>
<div class="container">
<div class="row">
<div class="col-md-8">
<h1 id="progress-bar"></h1>
<div class="pull-left" id="current-points"></div>
<div class="pull-right" id="possible-points"></div>
<div class="progress progress-striped active">
<div id="total-points" class="progress-bar progress-bar-success" role="progressbar" style="width:0%"> <strong>Healthy Foods</strong> </div>
<div id="win-points" class="progress-bar progress-bar-danger" role="progressbar" style="width:100%"> <strong>Empty Calorie Overlord</strong> </div>
</div>
<div class="clearfix"></div>
<canvas id="game"
class="game-canvas"
width="600px"
height="600px">
</canvas>
</div>
<div class="col-md-4" style="margin-top:40px">
<div class="score-card">
<h3 id="score-game" style="text-align:center">Score:</h3>
</div>
<div id="level" style="text-align:center">
<h2>Level 1</h2>
</div>
<div id="instructions">
<div class="panel panel-success">
<div class="panel-heading">
<h3 class="panel-title">Instructions</h3>
</div>
<div class="panel-body">
<p>Left and right arrow keys move "Tray"</p>
<p>Catch dropping health foods to score health points</p>
<p>Avoid catching junk foods to defeat the Empty Calorie Overlord</p>
<p>Hint: healthiest health foods = more points</p>
</div>
</div>
<div id="start">
<button id="start-btn" type="button" class="btn btn-success btn-lg">Start Game</button>
</div>
</div>
</div>
<div>
<h2 id='score-title'>Your High Scores:</h2>
<ul id="high-scores"></ul>
</div>
<a href="http://www.freepik.com/free-photos-vectors/food">Food vector designed by Bakar015 - Freepik.com</a>
<script src="main.bundle.js"></script>
</body>
</html>