-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (77 loc) · 2.66 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chess Engine</title>
<!-- icon -->
<link rel="shortcut icon" href="./images/wN.png" type="image/png">
<!-- css -->
<link rel="stylesheet" href="style.css" type="text/css">
<!-- script -->
<script type="text/javascript">
if (!window.console) console = {log: function() {}};
</script>
</head>
<body>
<header>
<h1>
<a href="" class="big_title">Chess Engine</a>
</h1>
</header>
<!-- fen position string input -->
<div id="FenInDiv">
<a href="https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation" target="_blank" title="FEN (Forsyth–Edwards Notation) position string in chess">
FEN position string:
</a><br/>
<input type="text" id="fenIn"/>
<button type="button" id="SetFen" style="font-size: 16px;" title="please make sure you have filled in FEN before pressing this button">
Set Position
</button>
</div>
<!-- Board Game -->
<div id="Board"></div>
<div id="EngineOutput">Thinking Time: <br/>
<select id="ThinkTimeChoice" title="Choose load time to think">
<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" title="Auto move one step">
Move Now
</button><br/>
<button type="button" id="NewGameButton" title="Start a new game">
New Game
</button><br/>
<button type="button" id="FlipButton" title="reverse control">
Flip Board
</button><br/><br>
<button type="button" id="TakeButton" title="go back one step before" style="font-size: 18px;">
Take Back
</button><br/><br/><br/>
<span id="GameStatus"></span>
</div>
<!-- JavaScript -->
<script src="./js/jquery-v3.6.0.min.js"></script>
<script src="./js/defs.js"></script>
<script src="./js/io.js"></script>
<script src="./js/board.js"></script>
<script src="./js/movegen.js"></script>
<script src="./js/makemove.js"></script>
<script src="./js/evaluate.js"></script>
<script src="./js/perft.js"></script>
<script src="./js/pvtable.js"></script>
<script src="./js/search.js"></script>
<script src="./js/gui.js"></script>
<script src="./js/main.js"></script>
</body>
</html>