-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (42 loc) · 1.37 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>
<meta charset="UTF-8">
<style>
.carrot
{
position: absolute;
top: 10px;
left: 60px;
}
.slider
{
position: relative;
left: 0px;
bottom: -5px;
}
.rightnum
{
position: relative;
left: 0px;
bottom: 0px;
}
</style>
<title> Carrot NEAT Implementation on Flappy Bird </title>
<link href='https://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>
</head>
<body>
<br/> <br/> <br/> <br/> <br/>
<img src="img/liquid.jpg" alt = "carrot logo" height = "70" width = "380" class = "carrot"/>
<canvas id="canvas" width="450" height="512" > </canvas>
<script src="https://liquidcarrot.io/carrot/cdn/0.1.99/carrot.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/p5.min.js"></script>
<script language="javascript" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.0/addons/p5.dom.min.js"></script>
<script language="javascript" type="text/javascript" src="main.js"></script>
<script language="javascript" type="text/javascript" src="bird.js"></script>
<script language="javascript" type="text/javascript" src="Pipe.js"></script>
<br/>
speed: <input id="speedSlider" class = "slider" type="range" min="1" max="10" value="1" >
<span id="speed" class="rightnum">1</span>
</body>
</html>