-
Notifications
You must be signed in to change notification settings - Fork 21
/
browser-2-run.html
188 lines (162 loc) · 6.56 KB
/
browser-2-run.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!--
#%L
Codenjoy - it's a dojo-like platform from developers to developers.
%%
Copyright (C) 2012 - 2022 Codenjoy
%%
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/gpl-3.0.html>.
#L%
-->
<html>
<head>
<meta charset="utf8">
<script src="engine/browser/jquery-3.1.0.js"></script>
<script>
if (typeof module == 'undefined') {
module = {};
}
</script>
<script src="browser-0-settings.js"></script>
<script src="engine/stuff.js"></script>
<script src="engine/browser/node-stub.js"></script>
<script src="engine/games.js"></script>
<script src="engine/direction.js"></script>
<script src="engine/lxy.js"></script>
<script src="engine/point.js"></script>
<script src="engine/board.js"></script>
<script src="games/mollymage/direction.js"></script>
<script src="games/mollymage/elements.js"></script>
<script src="games/mollymage/board.js"></script>
<script src="games/mollymage/solver.js"></script>
<script src="games/clifford/direction.js"></script>
<script src="games/clifford/elements.js"></script>
<script src="games/clifford/board.js"></script>
<script src="games/clifford/solver.js"></script>
<script src="games/tetris/direction.js"></script>
<script src="games/tetris/elements.js"></script>
<script src="games/tetris/board.js"></script>
<script src="games/tetris/solver.js"></script>
<script src="games/a2048/direction.js"></script>
<script src="games/a2048/elements.js"></script>
<script src="games/a2048/board.js"></script>
<script src="games/a2048/solver.js"></script>
<script src="games/rawelbbub/direction.js"></script>
<script src="games/rawelbbub/elements.js"></script>
<script src="games/rawelbbub/board.js"></script>
<script src="games/rawelbbub/solver.js"></script>
<script src="games/excitebike/direction.js"></script>
<script src="games/excitebike/elements.js"></script>
<script src="games/excitebike/board.js"></script>
<script src="games/excitebike/solver.js"></script>
<script src="games/icancode/direction.js"></script>
<script src="games/icancode/elements.js"></script>
<script src="games/icancode/board.js"></script>
<script src="games/icancode/solver.js"></script>
<script src="games/sample/direction.js"></script>
<script src="games/sample/elements.js"></script>
<script src="games/sample/board.js"></script>
<script src="games/sample/solver.js"></script>
<script src="games/knibert/direction.js"></script>
<script src="games/knibert/elements.js"></script>
<script src="games/knibert/board.js"></script>
<script src="games/knibert/solver.js"></script>
<script src="games/namdreab/direction.js"></script>
<script src="games/namdreab/elements.js"></script>
<script src="games/namdreab/board.js"></script>
<script src="games/namdreab/solver.js"></script>
<script src="games/verland/direction.js"></script>
<script src="games/verland/elements.js"></script>
<script src="games/verland/board.js"></script>
<script src="games/verland/solver.js"></script>
<script src="engine/browser/canvases.js"></script>
<script src="engine/runner.js"></script>
<script src="engine/browser/main.js"></script>
<style>
#board {
overflow: hidden;
vertical-align: top;
background: transparent;
margin: 0px;
border: none;
position: absolute;
mix-blend-mode: overlay;
font-family: 'Courier New';
font-weight: bold;
line-height: 0.61em;
font-size: 39.3px;
/* updated in main.js
left: 9px;
top: 9px;
*/
}
canvas {
/* updated in main.js
width:543px;
height:543px;
*/
}
#log-area {
line-height: 16px;
font-size: 20px;
font-family: 'Courier New';
width: 100%;
height: 90%;
}
.right {
float: right;
width: 55%;
}
.left {
float: left;
width: 40%;
}
table {
width: 100%;
height: 100%;
}
td {
vertical-align: top;
}
.canvas-row {
width: 1px;
}
</style>
</head>
<body>
<table>
<tr>
<td class="canvas-row">
<canvas id="board-canvas">
Your browser does not support the canvas element.
</canvas>
<textarea id="board"></textarea>
</td>
<td>
<input type="checkbox" id="add-to-end">Add to end</input>
<input type="checkbox" checked="true" id="show-graphic">Graphic</input>
<input type="checkbox" checked="true" id="show-text">Text</input>
<input type="checkbox" checked="true" id="client-connect">Connected</input>
<label style="display: none;">
<input type="checkbox" checked="false" id="joystick">
Joystick
</label>
<br>
<input type="text" id="game-to-run" size="15" readonly>
<input type="text" id="board-url" size="80" readonly>
<br>
<textarea id="log-area"></textarea>
</td>
</tr>
</table>
</body>
</html>