-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (43 loc) · 1.64 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Code/dist/style.css">
</head>
<body>
<p>ADVOLITION (<a href="https://github.com/darozak/Advolition">Learn how to play!</a>) </p>
<b>Robot 1: </b>
<input type="file" onchange="loadFile(0)"/>
<b>Robot 3: </b>
<input type="file" onchange="loadFile(2)"/>
<button id="run" onclick="runGame()">Run</button> <br>
<b>Robot 2: </b>
<input type="file" onchange="loadFile(1)"/>
<b>Robot 4:
<input type="file" onchange="loadFile(3)"/>
<button id="stop" onclick="stopGame()">Stop</button> </br>
<div style="display:none;">
<img id="sprites" src="Code/dist/tiles.png"/>
</div>
<canvas id="canvas"></canvas>
<script src="Code/dist/rng.js"></script>
<script src="Code/dist/generator.js"></script>
<script src="Code/dist/paper.js"></script>
<script src="Code/dist/vector.js"></script>
<script src="Code/dist/hardware.js"></script>
<script src="Code/dist/world_data.js"></script>
<script src="Code/dist/scan_data.js"></script>
<script src="Code/dist/action.js"></script>
<script src="Code/dist/arena.js"></script>
<script src="Code/dist/game_event.js"></script>
<script src="Code/dist/robot_data.js"></script>
<script src="Code/dist/fov.js"></script>
<script src="Code/dist/preciseshadowcasting.js"></script>
<script src="Code/dist/program.js"></script>
<script src="Code/dist/target.js"></script>
<script src="Code/dist/animations.js"></script>
<script src="Code/dist/game.js"></script>
<script src="Code/dist/main.js"></script>
</body>
</html>