forked from janjongboom/doodle-jump-fxos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (36 loc) · 1.29 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>HTML5 Doodle Jump</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<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>fox jump</h1>
<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>
<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="sprite.png"/>
<div id="scoreBoard">
<p id="score">0</p>
</div>
</div>
<script src="main.js"></script>
</body>
</html>