-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (68 loc) · 3.26 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="simple, open source, local multiplayer chess">
<title>OpenSourceChess</title>
<link rel="stylesheet" type="text/css" href="main.css">
</head>
<body class="pageBG">
<!-- mouse image overlay -->
<img src="img/none.png" alt="!" id="HeldPieceIMG" class="mouseIMG">
<!-- contains all elements surrounding the board -->
<div class="pageElementContainer">
<!-- board overlay -->
<div class="boardOverlayContainer" id="boardOverlayContainer" style="display: none;">
<div class="overlayContainer">
<div class="verticallycenterDIV">
<!-- checkmate display -->
<div id="CheckmateDiv" style="display: none;">
<div style="justify-content: center; display: flex; align-items: center;">
<div class="checkmateDiv">
<p class="overlayText size1">Checkmate!</p>
<p class="overlayText size2" id="WinnerTXT">White Won!</p>
</div>
<button class="restartButton" onclick="Game.Start()"><p class="overlayText" style="font-size: 10px;">New Game</p></button>
</div>
</div>
<!-- promotion display -->
<div id="promotionDiv" style="display: none;">
<div style="justify-content: center; display: flex; align-items: center;">
<p class="overlayText size1">Promote To:</p>
<!-- the container for the promotion options -->
<div class="promotionButtonContainer" id="promotionOptionsContainer">
</div>
</div>
</div>
</div>
</div>
<!-- the actual background for the board overlay -->
<div class="boardOverlay"></div>
</div>
<!-- all of the non overlay elements, such as the sidebar, and the target for board rendering -->
<div class="boardContainer" id="boardContainerMain">
</div>
<!-- the left sidebar containing captures and other UI elements -->
<div class="leftSideBar" id="leftSideBar">
<div class="capturetextContainer">
<p class="captureTitle size1">Captures:</p>
</div>
<div class="capturedPieces cell1" id="capturedPiecesWhite"></div>
<div class="capturedPieces cell2" id="capturedPiecesBlack"></div>
</div>
</div>
<!-- Script Inserts (compiled from typescript) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="Scripts/JS/Math.js" type="text/javascript"></script>
<script src="Scripts/JS/Vector.js" type="text/javascript"></script>
<script src="Scripts/JS/DocumentControl.js" type="text/javascript"></script>
<script src="Scripts/JS/ChessPieces.js" type="text/javascript"></script>
<script src="Scripts/JS/BoardController.js" type="text/javascript"></script>
<script src="Scripts/JS/CSSController.js" type="text/javascript"></script>
<script src="Scripts/JS/Init.js" type="text/javascript"></script>
<style id="DynamicStyle">
</style>
</body>
</html>