-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
87 lines (72 loc) · 1.75 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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<!--for mobile compatibility-->
<meta name="viewport" content="initial-scale=1, user-scalable=no">
<title>Blast Off!</title>
<link href="css/blastoff.css" type="text/css" rel="stylesheet"/>
<script src="js/modernizr.js"></script>
<script src="js/NoSleep.js"></script>
<script src="js/blastoff.js"></script>
</head>
<body>
<div id="head">
<div id="controls" class="noselect">
<div id="pause_help">
<span id="pause">⏸</span>
|
<span id="help_button">?</span>
</div>
<div id="score_health">
<div id="score">
0
</div>
<meter id="health" max=10 min=0.0 value=10 high=8 low=3 optimum=9></meter>
</div>
</div>
</div>
<div class="hidden_modal" id="restart_modal">
<div id="text">
Game Over<br>
Restart?<br>
</div>
<div id="button">
⟳
</div>
</div>
<div id="help_modal" class="hidden">
<span id="close_help">x</span>
<b>Desktop</b>
<br>
◀ (Keyboard) - Go Left
<br>
▶ (Keyboard) - Go Right
<br>
{Spacebar} (Keyboard) - Pause
<br><br>
<b>Mobile</b>
<br>
Tilt device to move
<br><br>
Hitting Yellow Stars will Increase Your Score
<br>
Hitting Red Stars will Decrease Your Health
<br>
<div class="col-4">
<span class="lg star">★</span>± 1
</div>
<div class="col-4">
<span class="md star">★</span>± 2
</div>
<div class="col-4">
<span class="sm star">★</span>± 3
</div>
</div>
<div>
<canvas id="canvas">
Your browser doesn't support Canvas.
</canvas>
</div>
</body>
</html>