-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (74 loc) · 3.06 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
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>Enduro - Ivan Gasparetto</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel="alternate icon" type="image/png" href="https://igasparetto.github.io/enduro/favicon.png">
<meta property="og:locale" content="en_GB" />
<meta property="og:site_name" content="Enduro by Ivan Gasparetto" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Enduro - Pure HTML, CSS and JavaScript" />
<meta property="og:description" content="Activision's Enduro recreated just for run." />
<meta property="og:url" content="https://igasparetto.github.io/enduro/" />
<meta property="og:image" content="https://igasparetto.github.io/enduro/image/screenshot.png" />
<meta property="og:image:secure_url" content="https://igasparetto.github.io/enduro/image/screenshot.png" />
<meta property="og:image:width" content="1024" />
<meta property="og:image:height" content="576" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap" rel="stylesheet">
<link rel='stylesheet' type='text/css' media='screen' href='css/main.css?v15'>
<link rel='stylesheet' type='text/css' media='screen' href='css/car.css?v15'>
<link rel='stylesheet' type='text/css' media='screen' href='css/scene.css?v15'>
<link rel='stylesheet' type='text/css' media='screen' href='css/side-block.css?v15'>
</head>
<body>
<div id="wrapper">
<header>
<h1><span>ENDURO</span></h1>
</header>
<main id="main">
<div id="scene" class="summer day">
<div id="gameWrapper">
<div id="game" tabindex="0">
<div id="sky"></div>
<div id="land"></div>
</div>
</div>
<div id="statsWrapper">
<div id="stats">
<div id="phase">1</div>
<div id="pointsContainer"><div id="points">000</div></div>
</div>
</div>
<p>Speed: <span id="currentSpeed">0</span></p>
<div id="controls">
<p>Scene: <span id="currentScene">summer day</span>.</p>
<div>
<button class="btn" id="btnLeft"><span class="icon"></span></button>
<button class="btn" id="start"><span class="icon"></span></button>
<button class="btn" id="btnRight"><span class="icon"></span></button>
</div>
<p id="eventLog"></p>
</div>
</div>
</main>
<footer>
<p>© Ivan Gasparetto</p>
</footer>
</div>
<!-- classes -->
<script src="js/game.js?v15"></script>
<script src="js/control.js?v15"></script>
<script src="js/tracks.js?v15"></script>
<script src="js/enemyCar.js?v15"></script>
<script src="js/player.js?v15"></script>
<script src="js/scene.js?v15"></script>
<!-- config -->
<script src="js/config.js?v15"></script>
<!-- put all together -->
<script src="js/main.js?v15"></script>
</body>
</html>