-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
44 lines (41 loc) · 1.61 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
<html lang="en">
<head>
<meta charset="UTF-8">
<title>FlappAI</title>
<script src="toolbox.min.js"></script>
<script src="js/NeuralNetwork/nn.js"></script>
<script src="js/NeuralNetwork/ga.js"></script>
<script src="js/NeuralNetwork/matrix.js"></script>
<script src="js/game/class/Bird.js"></script>
<script src="js/game/class/BirdBrain.js"></script>
<script src="js/game/class/Pipe.js"></script>
<script src="js/game/draw_loop.js"></script>
<script src="js/game/move_loop.js"></script>
<script src="js/info/draw_loop.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game_board">
<canvas id="game" width="600" height="800"></canvas>
<canvas id="neurons" width="600" height="400"></canvas>
<canvas id="graph" width="600" height="400"></canvas>
<div class="control_board">
<button id="save_brain">Save best brain</button>
<button id="load_brain">Load brain</button>
<input id="dialog_file" type="file" name="name" />
<button id="save_scores">Save scores</button>
<button id="toggleFastGraphics">Enable fast graphics</button>
<button id="toggleAdapSpeed" class="btn_enabled">Disable adaptative speed</button>
<div class="input_legend">
<legend id="len_speed" for="speed">Speed: 1</legend>
<input class="custom-slider" type="range" id="speed" name="speed" min="0" max="1000" step="1" />
</div>
<div class="input_legend">
<legend for="fps_threshold">FPS Minimun:</legend>
<input type="number" id="fps_threshold" name="fps_threshold" min="20" max="240" step="1" value="50" />
</div>
</div>
</div>
<script src="js/script.js"></script>
</body>
</html>