-
Notifications
You must be signed in to change notification settings - Fork 0
/
car.html
36 lines (35 loc) · 1.02 KB
/
car.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
<!DOCTYPE html>
<!--Created by Caleb -->
<!-- With quite a bit of help from kode krasher -->
<html>
<head>
<title>Wrong way racing</title>
<link rel="stylesheet" href="car.css">
</head>
<body>
<script src="car.js"></script>
<canvas id="canvas">
</canvas>
<div id="intro">
<h1 align="center">How to Play</h1>
<hr>
<ul>
<li>Tap the left half of the screen to go left.</li><br />
<li>Tap the right half of the screen to go right. </li><br />
<li>Do not crash!!! <br />You get faster the longer you play. </li><br />
<li>Tap the screen to start. </li>
</ul>
</div>
<div id="score"></div>
<div id="popup"><br />
</div>
<div id="buttons">
<div id="left"></div>
<div id="right"></div>
</div>
<div style="display:none" id="images">
<img id="car" src="https://art.pixilart.com/6d729849d3cdffe.png">
<img id="opponent" src="https://art.pixilart.com/6912789fbcc3150.png">
</div>
</body>
</html>