-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
209 lines (164 loc) · 6.93 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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="author" content="Kraiom Studio"/>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
<!-- Open Graph metadata -->
<meta property="og:title" content="Dash"/>
<meta property="og:image" content="http://kraiom.com/dash/img/logo.png"/>
<meta property="og:image:type" content="image/png">
<meta property="fb:app_id" content="903632352992329"/>
<meta property="og:description" content="How fast can you dash?">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>Dash</title>
<link href="img/favicon.png" rel="icon" type="image/x-icon"/>
<link href='https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Josefin+Sans:100,400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/css.css"/>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<script type="text/javascript" async src="//platform.twitter.com/widgets.js"></script>
</head>
<body>
<script type="text/javascript" src="js/libs/fb.min.js"></script>
<div class="wrapper">
<h1>DASH</h1>
<div class="menu">
<div><b id="user_name"></b>Your best score is <span id="best"></span></div>
<a class="main_btn" id="btn_play">Start game</a>
<a class="main_btn" id="btn_howto">How to play</a>
<a class="main_btn" id="btn_full">Toggle fullscreen</a>
<a class="main_btn" id="btn_leader" class="disabled">Leaderboard</a>
<div class="clear"></div>
</div>
<div class="clear"></div>
<div class="copyright">
<a href="https://kraiom.com/" target="_blank">Kraiom Studio</a>
<a href="/policy.html" target="_blank">Privacy policy</a>
<a href="https://www.facebook.com/the.dash.game" target="_blank">Facebook page</a>
<a href="https://play.google.com/store/apps/details?id=com.breno.dash" target="_blank">Android app</a>
</div>
</div>
<!-- <section id="panel-0" class="preset-5" style="display: block; left:0%;top:0;"><i class="icon-angle-down"></i></section> -->
<section id="panel-0"><i></i></section>
<section id="panel-1"><i></i></section>
<div class="score" id="score">
<div class="counter" id="counter">10</div>
<!-- <div class="timer">
<div class="fill" id="gauge"></div>
</div> -->
<div class="lives">
<div></div>
<div class="middle"></div>
<div></div>
</div>
<div class="clear"></div>
</div>
<div class="timer">
<div id="gauge"></div>
</div>
<div class="score msg" id="msg">
<i id="msg_icon"></i>
</div>
<div class="info" id="end_game_view">
<span class="dismiss"><a>Close window</a></span>
<h2>Game over!</h2>
<div class="centering">
<div>
Your final score is <b id="last_score">888</b> in <b id="last_time">10</b> seconds!
</div>
<div class="buttons">
<a id="btn_again">Play again</a>
</div>
<div>
<a id="fb_share_score"><i class="icon-facebook"></i> <div id="share_text">Share on Facebook</div></a>
<div class="clear"></div>
</div>
<div>
<a id="tw_share_score"><i class="icon-twitter"></i> Share on Twitter</a>
<div class="clear"></div>
</div>
</div>
</div>
<div class="info" id="info">
<span class="dismiss"><a>Close window</a></span>
<h2>How to play</h2>
<div class="centering">
<a id="tutorial_on">Enable in-game tutorial</a>
<a id="tutorial_off" style="display: none;">Disable in-game tutorial</a>
</div>
<div>The rule is simple: send the panel to the correct direction, if you can! In Dash you must press the arrow accordingly to what is being shown within the remaining time and each round is faster than the last!</div>
<div>Too easy? There are also some things you must pay attention to in order to dash!</div>
<div class="block">
<img src="img/tut/common.png" alt="common arrow" class="l" />
<div>
<h3>Simple arrow</h3>
The simple arrow is the most basic and classic thing! Just press the right key in time and you're good.
</div>
<div class="clear"></div>
</div>
<div class="block">
<img src="img/tut/reverse.png" alt="common arrow" class="r" />
<div>
<h3>Reverse</h3>
It's a trap! If the background is striped, then you must take the opposite action that is being shown. For instance, if the image shows a right arrow, press the left key; If it shows up, then press down, and so on and so forth.
</div>
<div class="clear"></div>
</div>
<div class="block">
<img src="img/tut/double.png" alt="common arrow" class="l" />
<div>
<h3>Double arrow</h3>
To dismiss a panel like this, you must double press the required key in the same amount of time. As easy as pie!
</div>
<div class="clear"></div>
</div>
<div class="block">
<img src="img/tut/previous.png" alt="common arrow" class="r" />
<div>
<h3>Previous action</h3>
This one may seem tricky. <b>DASH</b> is not only about being fast, but also being attentive! If you ever see a symbol like this, then it is a previous arrow! It means you must repeat your last action!
</div>
<div class="clear"></div>
</div>
<div class="block">
<img src="img/tut/pressed.png" alt="common arrow" class="l" />
<div>
<h3>Pressed arrow</h3>
Have you paid close attention to what happens when you press the correct key? Yes, the arrow turns into white. However, what should you do if the panel came with a white arrow? Simple: do not press anything. At all. Seriously.
</div>
<div class="clear"></div>
</div>
</div>
<div class="info" id="leaderboards">
<span class="dismiss"><a>Close window</a></span>
<h2>Leaderboard</h2>
<div id="app_permissions_alert" style="display: none;">
<small>Have your friends enabled posting permission for the App? If they didn't you will not be able to see your friends scores. Learn more reading about Facebook integration in the <a href="policy.html#facebook" target="_blank">privacy policy</a>.</small>
</div>
<div class="centering" id="error_msg">
Ranking not available yet!
</div>
<div class="centering">
<a id="btn_login" style="display: none;">Login with Facebook</a>
</div>
<div class="centering" id="loading" style="display: none;">
<img src="img/load.gif" alt="loading" style="border: none;"/>
</div>
<table id="ranking">
</table>
</div>
<div class="message" id="tutorial"></div>
</body>
<script type="text/javascript" src="js/script.min.js"></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-60178881-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</html>