-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (35 loc) · 1.51 KB
/
index.html
File metadata and controls
41 lines (35 loc) · 1.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chess JS</title>
<link rel="stylesheet" type="text/css" href="css/index.css"/>
</head>
<body>
<div class="container container-vert">
<p class="title">Chess</p>
<div class="container container-info container-hori">
<p class="info" id="full-moves">Full moves: 1</p>
<p class="info" id="half-moves">Half moves: 0</p>
<p class="info" id="turn">White turn</p>
<p class="info" id="check">No Check</p>
</div>
<canvas id="board" width="416" height="416"></canvas> </br>-
<div class="container-hori" id="promotion_popdown" style="visibility: hidden;">
<ul>
<li><img src="static/bishopW.png" id="promotion_bishop"></img></li>
<li><img src="static/knightW.png" id="promotion_knight"></img></li>
<li><img src="static/queenW.png" id="promotion_queen"></img></li>
<li><img src="static/rookW.png" id="promotion_rook"></img></li>
</ul>
</div>
<a class="footer" target="_blank" rel="noopener noreferrer" href="https://github.com/itzreversee">by itzreversee</a>
<div class="container container-hori">
<input id="fen">
<button id="fen_load">/\</button>
</div>
</div>
<script src="js/index.js"></script>
</body>
</html>