-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathselfplaying.html
More file actions
43 lines (40 loc) · 1.8 KB
/
Copy pathselfplaying.html
File metadata and controls
43 lines (40 loc) · 1.8 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
<!DOCTYPE html>
<html>
<head>
<title>Chess engine</title>
<link href="chessboard-0.3.0.css" rel="stylesheet" type="text/css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name=theme-color content=#FBAE17>
</head>
<body>
<div id="board" style="width: 95%; max-width:400px"></div>
<div id="statusdiv" style="width: 95%; max-width:400px">
<p>Status: <span id="status"></span></p>
<p>PGN: <span id="pgn"></span></p>
</div>
<script src="chessboard-0.3.0.js"></script>
<script src="jquery-1.10.1.min.js"></script>
<script src="json3.min.js"></script>
<script src="chess.js"></script>
<script src="schaak5.1.js"></script>
<script>
$(document).ready(init(2,1));
</script>
<img src="img/chesspieces/wikipedia/wP.png" id="3bb7-9e07-b11e-5f0f-e6e3-18c4-c8ad-bfab" alt="" class="piece-417db" data-piece="wP" style="display: none; height: 49px; width: 49px;">
<div>
<button id="undo" onclick=$(document).ready(init(1,1))>wit: 1: zwart:1</button>
<button id="undo" onclick=$(document).ready(init(1,2))>wit: 1: zwart:2</button>
<button id="undo" onclick=$(document).ready(init(1,3))>wit: 1: zwart:3</button>
</div>
<div>
<button id="undo" onclick=$(document).ready(init(2,1))>wit: 2: zwart:1</button>
<button id="undo" onclick=$(document).ready(init(2,2))>wit: 2: zwart:2</button>
<button id="undo" onclick=$(document).ready(init(2,3))>wit: 2: zwart:3</button>
</div><div>
<button id="undo" onclick=$(document).ready(init(3,1))>wit: 3: zwart:1</button>
<button id="undo" onclick=$(document).ready(init(3,2))>wit: 3: zwart:2</button>
<button id="undo" onclick=$(document).ready(init(3,3))>wit: 3: zwart:3</button>
</div>
<!-- <p>FEN: <span id="fen"></span></p>-->
</body>
</html>