-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
26 lines (25 loc) · 826 Bytes
/
index.html
File metadata and controls
26 lines (25 loc) · 826 Bytes
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
<!---
ChessBoard Interactive Frontend Program HTML
Written By: Kshitij Tomar
-->
<!DOCTYPE html>
<html lang ="en">
<head>
<meta charset ="UTF-8">
<title>Chess Board</title>
<link rel="stylesheet" href = "style.css">
</head>
<body>
<p>It is <span id = "player"></span> to move.</p>
<div id="deadwhite"></div>
<div id="gameboard"> </div>
<div id="underboard"></div>
<div id="deadblack"></div>
<p id ="info-display"></p>
<p>Choose who you want to play against</p>
<script src = 'interface.js'></script>
<button type="button" id="btn1" onclick="onClick()">Computer</button>
<button type="button" id="btn2" onClick="onButtonClick()">2Player</button>
<script src = "peices.js"></script>
</body>
</html>