forked from jorge1289/Solomon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (42 loc) · 1.56 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
<!DOCTYPE html>
<!--
This project uses:
chess.js - https://github.com/jhlywa/chess.js
Copyright (c) 2023, Jeff Hlywa
Released under the MIT License
https://github.com/jhlywa/chess.js/blob/master/LICENSE
chessboard.js - https://chessboardjs.com
Copyright 2019 Chris Oakman
Released under the MIT License
https://github.com/oakmac/chessboardjs/blob/master/LICENSE.md
-->
<html>
<head>
<title>Chess Engine</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/chessboard-js/1.0.0/chessboard-1.0.0.min.css">
<link rel="stylesheet" href="css/styles.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chessboard-js/1.0.0/chessboard-1.0.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/chess.js/0.10.3/chess.min.js"></script>
</head>
<body>
<div class="game-container">
<div class="side-controls">
<div class="color-picker">
<h3>Play as:</h3>
<button id="playAsWhite" class="color-btn active">White</button>
<button id="playAsBlack" class="color-btn">Black</button>
</div>
</div>
<div class="board-wrapper">
<div id="board"></div>
<div id="game-over"></div>
</div>
</div>
<div class="status" id="status"></div>
<div class="controls">
<button id="playAgain">Play Again</button>
</div>
<script src="js/game.js"></script>
</body>
</html>