-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 2.3 KB
/
index.html
File metadata and controls
59 lines (55 loc) · 2.3 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Batchess</title>
<link type="image/png" sizes="16x16" rel="icon" href="./icons8-bat-16.png">
</head>
<body>
<p>Balanced Asymmetric Tactical Chess Positions</p>
<h3 id="seed"></h3>
<img id="FEN_image" alt="An image of the position described by the below FEN">
<p>In all positions, it is white to move. You can castle if your king and rook start in the right place.</p>
<p>FEN: <samp id="FEN_text"></samp></p>
<div>
<a id="sharePosition">
Link to this position
</a>
<br/>
<a id="playWithFriend">
Play with a friend
</a> Set the time controls through the lichess API and then send the challenge link to a friend
<br/>
<a id="playWithComputer" target=”_blank”>
Play with the computer
</a>
<select name="computer" id="computer" onchange="set_ai()">
<option selected value="pawnrobot">Pawnrobot (1100 ELO)</option>
<option value="maia1">Maia1 (1400 ELO)</option>
<option value="maia9">Maia9 (1700 ELO)</option>
</select>
Make sure that the time control isn't unlimited, or this won't work!
<br/>
</div>
<details>
<summary>Computer analysis for this position - don't click this if you want to play the position with a friend!</summary>
<p id="stockfish_eval"></p>
<a id="analysisBoard">
View the analysis board
</a>
<p id="gameinfo"></p>
<p id="pgn">
</p>
</details>
<div>
<a href="index.html">
New random interesting position from a computer championship game
</a>
<br/>
<!-- <a href="./">-->
<!-- New random position from genetic algorithm - may feature different piece counts from normal chess-->
<!-- </a>-->
<br/>
</div>
<script type="text/javascript" src="random_position.js"></script>
</body>
</html>