-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
63 lines (63 loc) · 1.74 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
<!DOCTYPE html>
<title>Ba simulator</title>
<script src="js/basim.js"></script>
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 2px 4px;
}
th:last-child {
width: 8em;
}
td {
text-align: center;
}
</style>
Lure distance: <select id="deflevelselect">
<option value="4">4 tiles (Level 1)</option>
<option value="5" selected>5 tiles (Level 2-5)</option>
<option value="6">6 tiles</option>
<option value="7">7 tiles</option>
<option value="8">8 tiles</option>
</select><br>
Wave: <select id="waveselect">
<option value="1">Wave 1</option>
<option value="2">Wave 2</option>
<option value="3">Wave 3</option>
<option value="4">Wave 4</option>
<option value="5">Wave 5</option>
<option value="6">Wave 6</option>
<option value="7">Wave 7</option>
<option value="8">Wave 8</option>
<option value="9">Wave 9</option>
<option value="10">Wave 10</option>
</select><br>
Runner movements: <input id="runnermovements" type="text"/><br>
<button id="wavestart"></button>
<button id="wavepause" style="display: none;"></button>
<button id="wavestep" style="display: none;">Step</button>
Call <span id="callnumber"></span>, Tick <span id="tickcount"></span><br>
<canvas id="basimcanvas"></canvas><br>
<table id="runnertable" style="display: none;">
<thead>
<tr>
<th>Runner</th>
<th>Tick</th>
<th>State</th>
<th>Position</th>
<th>Destination</th>
<th>Target</th>
<th>Chat</th>
</tr>
</thead>
</table>
<b>space</b> starts or stops the wave.<br>
<b>left-click</b> moves the player.<br>
<b>right-click</b> places a collector.<br>
<b>r</b> drops a right food.<br>
<b>w</b> drops a wrong food.<br>
<b>e</b> picks up a food.<br>
<b>t</b> repairs trap.