-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (69 loc) · 2.91 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
<!DOCTYPE html>
<head>
<title> Self Driving Car - No libraries</title>
<link rel="stylesheet" href="index.css">
</head>
<body>
<canvas id="myCanvas"></canvas>
<div id = "buttons">
<!-- <button onClick ="save()">SAVE</button>
<button onClick ="discard()">DISCARD</button> -->
<button onClick ="window.location.reload();">RELOAD</button>
<!-- <button id= "game" onClick ="game()">PLAY GAME</button> -->
<!-- <label for="dropdown">Select Cars:</label>
<select id="cars">
<option value="option1">1</option>
<option value="option2">10</option>
<option value="option1">100</option>
<option value="option2">300</option>
<option value="option3">500</option>
<option value="option4">1000</option>
</select>
<label for="dropdown">Mutation:</label>
<select id="dropdown">
<option value="option1">1</option>
<option value="option2">2</option>
<option value="option3">3</option>
<option value="option4">5</option>
<option value="option1">10</option>
<option value="option2">20</option>
<option value="option3">30</option>
<option value="option4">50</option>
</select> -->
</div>
<section id="description">
<h1>Hi:)</h1>
<p class="type"> This Program is a Simple Car Game.</br>
This is the first prototype.
You are competing against a <strong>Machine Learning Car</strong>
with the same speed.</br>
This car operates by utilizing a <strong>Feed Forward</strong> algorithm
for it's neural network.</br>
Since it is just a simple game to release stress
your controls are the <strong>ARROW</strong> keys
on your computer keyboard</br>
<strong>UP</strong> key moves car forward</br>
<strong>DOWN</strong> key is reverse</br>
<strong>RIGHT</strong> key is right </br>
<strong>LEFT</strong> key is left</br>
Your <strong>Mission</strong> is to bypass other cars without
colliding with any car or outer road
borders.</br>
This is <strong>LEVEL ONE</strong> with only 20 cars to bypass
</br>
The AI car is <strong><span class="blue">BLUE</span></strong>.
Your car is <strong><span class="pink">PINK</span></strong>.</br>
If you collide <strong>GAME OVER</strong>.
Press on the <strong>Reload</strong>
button to start again.
</p>
</section>
<script src="utils.js"></script>
<script src="network.js"></script>
<script src="car.js"></script>
<script src="sensor.js"></script>
<script src="road.js"></script>
<script src="controls.js"></script>
<script src="main.js"></script>
</body>
</html>