forked from mvasilkov/roads2017
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_build.html
44 lines (43 loc) · 1.73 KB
/
index_build.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
<!doctype html>
<html>
<head>
<meta charset=utf8>
<meta name=viewport content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Where We're Going, We Do Need Roads</title>
<link rel=stylesheet href=roads.css>
<link rel=manifest href=manifest.json>
</head>
<body>
<div id=container>
<canvas id=canvas width=960 height=540></canvas>
<div id=load>
<h1>Loading</h1>
</div>
<div id=home>
<h1><small>Where We're Going,</small><br>We Do Need Roads</h1>
<p>
<b>How to play:</b><br>
🌟 Click or tap anywhere on the screen<br>
🌟 Drag up and down to shape the road<br>
🌟 Don't crash into dangerous obstacles<br>
</p>
<div id=start>NEW GAME</div>
<div id=menu>
<input type=checkbox class=opt id=m checked><label for=m> Music</label><br>
<input type=checkbox class=opt id=s checked><label for=s> Sound FX</label><br>
</div>
</div>
<div id=end style=display:none>
<h1>Game Over<br><small>Distance traveled: <span id="dist">12 km</span></small></h1>
<p>
<b>Nice try!</b><br>
<small>Success is commemorated; failure merely remembered</small><br>
Written by Mark Vasilkov for js13kGames–2017
</p>
<div id=reset>PLAY AGAIN</div>
</div>
</div>
<script src=sound.js></script>
<script src=roads.js></script>
</body>
</html>