forked from kesara/13kars
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (48 loc) · 1.79 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
<!DOCTYPE html>
<html>
<head>
<title>13Kars</title>
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="main.css">
<script src="kontra.js"></script>
</head>
<body>
<div class="container">
<div class="title info bold">13Kars</div>
<div class="level info">LEVEL: <span id="level" class="bold"></span></div>
<div class="fuel info">FUEL: <span id="fuel" class="bold"></span></div>
<div class="score info">SCORE: <span id="score" class="bold"></span></div>
<div class="gutter gutter-top"></div>
<div id="main-div" class="main">
<canvas></canvas>
</div>
<div class="gutter gutter-bottom"></div>
<div class="hud">
<span id="hud" class="info"></span>
</div>
<div class="footer-keys info small">
<ul>
<li>Move Up: ↑ or k or w</li>
<li>Move Down: ↓ or j or s</li>
<li>Restart: [space]</li>
</ul>
<ul>
<li>◼ are cars.</li>
<li>● are fule cells.</li>
<li>Avoid incoming traffic.</li>
<li>Get fuel cells.</li>
<li>Don't run out of fuel.</li>
</ul>
</div>
<div class="footer-info info small">
<ul>
<li><a href="https://github.com/kesara/13kars/">Read the source!</a></li>
<li>Copyright (C) 2018 <a href="https://fq.nz/">Kesara Rathnaayke</a></li>
<li>License: <a href="https://github.com/kesara/13kars/blob/master/LICENSE">GNU General Public License v3.0</a>.</li>
<li><a href="https://github.com/straker/kontra/">Kontra.js</a> lisence: <a href="https://github.com/straker/kontra/blob/master/LICENSE">MIT License</a></li>
</ul>
</div>
</div>
<script src="main.js"></script>
</body>
</html>