forked from ashishpapanai/chessJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (58 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Chess Engine</title>
<link href="styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
if (!window.console) console = {
log: function() {}
};
</script>
</head>
<body>
<header>
<h2>Chess Engine</h2>
</header>
<div id="FenInDiv">
Fen:<br/>
<input type="text" id="fenIn" />
<button type="button" id="SetFen">Set Position</button>
</div>
<div id="Board">
</div>
<div id="EngineOutput">Thinking Time: <br/>
<select id="ThinkTimeChoice">
<option value="1">1s</option>
<option value="2">2s</option>
<option value="4">4s</option>
<option value="6">6s</option>
<option value="8">8s</option>
<option value="10">10s</option>
</select><br/><br/><br/>
<span id="BestOut">BestMove:</span><br/>
<span id="DepthOut">Depth:</span><br/>
<span id="ScoreOut">Score:</span><br/>
<span id="NodesOut">Nodes:</span><br/>
<span id="OrderingOut">Ordering:</span><br/>
<span id="TimeOut">Time:</span><br/><br/>
<button type="button" id="SearchButton">Move Now</button><br/>
<button type="button" id="NewGameButton">New Game</button><br/>
<button type="button" id="FlipButton">Flip Board</button><br/><br/>
<button type="button" id="TakeButton">Take Back</button><br/><br/><br/>
<span id="GameStatus"></span>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js" integrity="sha512-bLT0Qm9VnAYZDflyKcBaQ2gg0hSYNQrJ8RilYldYQ1FxQYoCLtUjuuRuZo+fjqhx/qtq/1itJ0C2ejDxltZVFg==" crossorigin="anonymous"></script>
<script src="js/defs.js" type="text/javascript"></script>
<script src="js/io.js" type="text/javascript"></script>
<script src="js/board.js" type="text/javascript"></script>
<script src="js/movegen.js" type="text/javascript"></script>
<script src="js/makemove.js" type="text/javascript"></script>
<script src="js/evaluate.js" type="text/javascript"></script>
<script src="js/pvtable.js" type="text/javascript"></script>
<script src="js/search.js" type="text/javascript"></script>
<script src="js/perft.js" type="text/javascript"></script>
<script src="js/gui.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
</body>
</html>