-
Notifications
You must be signed in to change notification settings - Fork 2
/
fen.htm
88 lines (70 loc) · 2.7 KB
/
fen.htm
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<title>lozza chess engine</title>
<meta name="title" content="lozza chess engine" />
<meta name="description" content="lozza chess engine" />
<meta name="keywords" content="chess, javascript, lozza, queens, gambit, queens gambit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="bootstrap3/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" media="screen" href="css/chessboard-0.3.0.css" />
<style>
body {padding: 20px;}
#stats {font-weight: bold;}
#board {width: 100%; max-width: 350px;}
input {width: 100%; max-width: 700px;}
</style>
<script src="jquery-ui-1.8.24/js/jquery-1.8.2.min.js"></script>
<script src="bootstrap3/js/bootstrap.min.js"></script>
<script src="js/chessboard-0.3.0.js"></script>
<script src="lozuilib.js"></script>
<script src="fen.js"></script>
<script src="lozza.js"></script>
</head>
<body>
<p>
<a class="btn btn-success" href="index.htm">Lozza home</a>
<a class="btn btn-info" href="fenhelp.htm">Help</a>
</p>
<form role="form">
<input class="form-control" id="fen" type="text" value="">
</form>
<p>
<div class="btn-group" role="group">
<button class="btn btn-warning" id="startpos">Reset</button>
<button class="btn btn-warning" id="clearpos">Clear</button>
</div>
<div class="btn-group" role="group">
<button class="btn btn-warning" data-toggle="tooltip" data-placement="top" title="toggle the turn (w/b) in the fen string" id="flipturn">Turn</button>
<button class="btn btn-warning" data-toggle="tooltip" data-placement="top" title="this doers not affect the fen string" id="flippos">Flip</button>
</div>
</p>
<p>
<div class="btn-group" role="group">
<button class="btn btn-primary" id="start">Analyse</button>
<button class="btn btn-primary" id="stop">Stop</button>
</div>
<button class="btn btn-primary" id="eval">Evaluate</button>
<div class="btn-group">
<button type="button" class="btn btn-danger">Play</button>
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu">
<li><a id="aswhite" href="#">As white</a></li>
<li><a id="asblack" href="#">As black</a></li>
</ul>
</div>
</p>
<p id="stats">
</p>
<p id="board">
</p>
<p id="info">
</p>
</body>
</html>