forked from ParadiseSS13/Paradise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchess.html
31 lines (31 loc) · 1.23 KB
/
chess.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
<script type="text/javascript">var hSrc = "[hsrc]"</script>
<script src="boardui.js"></script>
<script type="text/javascript">
$(document).ready(function () {
g_timeout = 1000;
UINewGame();
});
</script>
<div align="center">
<div>
<a href="javascript:UINewGame()">New game</a>
<select onchange="javascript:UIChangeStartPlayer()">
<option value="white">White</option>
<option value="black">Black</option>
</select>
Time per move: <input id="TimePerMove" value="3000" onchange="javascript:UIChangeTimePerMove()" disabled/>ms
<a href="javascript:UIUndoMove()">Undo</a>
</div>
<div style="margin-top:5px;">
<div id='board'></div>
<span id='output' style="display: none;"></span><br/>
<textarea cols='50' rows='6' id='PgnTextBox' style="display: none;"></textarea><br/>
<div style="display: none;">
<a id='AnalysisToggleLink' href="javascript:UIAnalyzeToggle()">Analysis: Off</a>
</div>
<input id='FenTextBox' onchange="javascript:UIChangeFEN()" style="display: none;"/>
</div>
<div>
<a href="javascript:UIClose()">Close</a>
</div>
</div>