-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
138 lines (123 loc) · 4.03 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<!DOCTYPE html>
<html>
<head>
<title>Choose Wisely</title>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-45976176-1', 'jazzberrygames.com');
ga('send', 'pageview');
</script>
<style type="text/css">
html,body {
background-color: #333;
color: #fff;
font-family: helvetica, arial, sans-serif;
margin: 0;
padding: 0;
font-size: 12pt;
overflow: hidden;
}
#canvasContainer {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
height: 640px;
width: 1280px;
}
#choiceDiv {
position:absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
text-align: center;
height: 135px;
width: 1280px;
display: none;
}
#youWin {
position:absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
text-align: center;
height: 135px;
width: 1280px;
display: none;
}
#choices {
vertical-align: middle;
}
.btn-group {
float: none;
}
#stars {
position: absolute;
top: 15px;
left: 30px;
}
#star {
top: 4px;
}
#levelContainer {
position:absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
top: 15px;
text-align: center;
}
#youWinTitle {
background-color: #fdf4b9;
color: #4a4849;
}
#playAgain {
background-color: #fdf4b9;
color: #4a4849;
}
</style>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="lib/impact/impact.js"></script>
<script type="text/javascript" src="lib/game/main.js"></script>
</head>
<body>
<div id="canvasContainer">
<canvas id="canvas"></canvas>
<div id="stars">
<h1><span class="label label-primary"><span class="glyphicon glyphicon-star" id="star"></span> <span id="numberOfStars">0</span> / 52</span></h1>
</div>
<div id="levelContainer">
<h1><span class="label label-primary">Level <span id="levelNumber">1</span></span></h1>
</div>
</div>
<div id="youWin">
<h1><span class="label label-success" id="youWinTitle">You Win!</span></h1>
<h2><span class="label label-default" id="completion">Completion: <span id="completionPercent">75</span>% - <span id="completionTier">Bronze</span></span></h2>
</br>
<div class="btn-group btn-group-lg">
<button type="button" class="btn btn-default" id="playAgain" onclick="ig.game.playAgain();">Click here to play through with different skills to increase your rank ^_^</button>
</div>
</div>
</div>
<div id="choiceDiv">
<h1><span class="label label-primary" id="title">You only get one.</span></h1>
<div class="btn-group btn-group-lg" id="choices">
<button type="button" class="btn btn-default" id="leftButton" onclick="ig.game.setChoice(this);">Left</button>
<button type="button" class="btn btn-default" id="middleButton" onclick="ig.game.setChoice(this);">Middle</button>
<button type="button" class="btn btn-default" id="rightButton" onclick="ig.game.setChoice(this);">Right</button>
</div>
</div>
</body>
</html>