This repository has been archived by the owner on Nov 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (48 loc) · 1.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.materialdesignicons.com/5.1.45/css/materialdesignicons.min.css">
<link rel="stylesheet" href="style.css">
<title>Tic Tac Toe</title>
</head>
<body>
<h1>Tic Tac Toe!</h1>
<div id="board-players">
<div id="versus">
<h3>Play Against:</h3>
<div id="options">
<button id="human" class='selected' type="button">Player 2</button>
<button id="ai" type="button">AI</button>
</div>
</div>
<div id="board">
<div data-index="0" class="cell mdi"></div>
<div data-index="1" class="cell mdi"></div>
<div data-index="2" class="cell mdi"></div>
<div data-index="3" class="cell mdi"></div>
<div data-index="4" class="cell mdi"></div>
<div data-index="5" class="cell mdi"></div>
<div data-index="6" class="cell mdi"></div>
<div data-index="7" class="cell mdi"></div>
<div data-index="8" class="cell mdi"></div>
</div>
<div id="players">
<div id="player1">
<h3>Player 1:</h3>
<div>
<input class="player1Name" type="text" placeholder="Name">
</div>
</div>
<div id="player2">
<h3>Player 2:</h3>
<div>
<input class="player2Name" type="text" placeholder="Name">
</div>
</div>
</div>
</div>
</body>
<script src="script.js"></script>
</html>