-
Notifications
You must be signed in to change notification settings - Fork 0
/
vacsim.html
50 lines (47 loc) · 2.13 KB
/
vacsim.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
<!DOCTYPE html>
<head>
<title>VacSim</title>
<meta name="viewport" content="width=480">
<link rel="stylesheet" href="main.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/css/goldenlayout-base.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/css/goldenlayout-light-theme.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.css" />
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.5/ace.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/golden-layout/1.5.9/goldenlayout.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/xterm.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/xterm/3.14.5/addons/fit/fit.min.js"></script>
<div id="all" class="horiz">
<div class="toolbar-left">
Vaccum Simulator JavaScript. <a href=https://martinrupp.github.io/vacsim/vacsim_python.html>python version</a> / <a href=https://docs.google.com/document/d/1LrY-_j61vuMt_khjQwhmbdJ2UVx8au8xWs6YIJqa_oM/edit?usp=sharing>Docu & (c)</a><br>
<label id="codeinfo">click "recompile" to compile your code</label>
</div>
<div class="toolbar-right">
<label id="info">(paused)</label>
<select id="map" onchange="onChangeMap()">
<option value="0">map 0</option>
<option value="1" selected>map 1</option>
<option value="2">map 2</option>
<option value="3">map 3</option>
<option value="4">map 4</option>
</select>
<button id="compile">recompile</button>
<button id="reset">reset</button>
<button id="run">▶</button>
</div>
<div id="layout"></div>
</div>
<script>
var is_python = false;
</script>
<script src="map_helper.js"></script>
<script src="maps.js"></script>
<script src="layout.js"></script>
<script src="robot_code.js"></script>
<script src="main.js"></script>
<script>
</script>
</body>
</html>