-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
56 lines (55 loc) · 2.13 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
<html>
<link rel="shortcut icon" type="image/ico" href="favicon.ico"/>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="assets/base.css">
<link rel="stylesheet" href="assets/theme.css">
<link rel="stylesheet" href="assets/desktop.css">
</head>
<body>
<script src="chessground.js"></script>
<header>
<img src="assets/images/pieces/merida/wR.svg"></img>
<div>Turn-By-Turn Chessboard</div>
<img src="assets/images/pieces/merida/wR.svg"></img>
</header>
<div id='main'>
<div class="board-container">
<div class="chessground normal wood staunton coordinates"
id="chessBoard"></div>
</div>
<div class="panel stats">
<div class="header">Stats</div>
<div>
<label>Black's Advantages</label>
<div class="list" id="blacksAdv" ></div>
<label>White's Advantages</label>
<div class="list" id="whitesAdv" ></div>
</div>
</div>
<div class="panel tools">
<div class="header">Tools</div>
<div>
<button onclick="ToggleOrientation()">Toggle Orientation</button>
<button onclick="ResetGame()">Reset Board</button>
<label>Fen</label>
<input id="fenToLoad"/>
<button onclick="LoadFen()">Load Fen</button>
<label>Move</label>
<input id="moveToPlay"/>
<button onclick="PlayMove()">Play Move</button>
</div>
</div>
</div>
<footer>
<div>
<label>Current Fen</label>
<input id="currentFen" class="wide"/>
<label>Last Move</label>
<input id="lastMove"/>
</div>
<script src="index.js"></script>
</footer>
</body>
</html>