-
Notifications
You must be signed in to change notification settings - Fork 154
/
index.html
53 lines (42 loc) · 1.43 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Doodle Jump</title>
<link rel="stylesheet" href="style.css">
<script src="/assets/js/prefixfree.min.js"></script>
</head>
<body>
<div class="container">
<canvas id="canvas">
Aww, your browser doesn't support HTML5!
</canvas>
<div id="mainMenu">
<h1>doodle jump</h1>
<h3>using HTML5,</h3>
<h3>...by <a href="http://twitter.com/solitarydesigns/" target="_blank">Kushagra Agarwal</a></h3>
<h3>and <a href="http://twitter.com/_rishabhp" target="_blank">Rishabh</a></h3>
<p class="info">
use
<span class="key left">←</span>
<span class="key right">→</span>
to move and space to (re) start...
</p>
<a class="button" href="javascript:init()">Play</a>
</div>
<div id="gameOverMenu">
<h1>game over!</h1>
<h3 id="go_score">you scored 0 points</h3>
<a class="button" href="javascript:reset()">Restart</a>
<a id="tweetBtn" target="_blank" class="button tweet" href="#">Tweet score</a>
<a id="fbBtn" target="_blank" class="button fb" href="#">Post on FB</a>
</div>
<!-- Preloading image ;) -->
<img id="sprite" src="http://i.imgur.com/2WEhF.png"/>
<div id="scoreBoard">
<p id="score">0</p>
</div>
</div>
<script src="main.js"></script>
</body>
</html>