-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtic.html
More file actions
32 lines (32 loc) 路 1.09 KB
/
Copy pathtic.html
File metadata and controls
32 lines (32 loc) 路 1.09 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
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic-Tac-Toe</title>
<link rel="stylesheet" href="tic.css">
</head>
<header>
<a href="index.html"><button class="button">Back</button></a>
</header>
<body>
<div id="game-container">
<h1>Tic-Tac-Toe</h1>
<div id="board">
<div class="cell" data-index="0"></div>
<div class="cell" data-index="1"></div>
<div class="cell" data-index="2"></div>
<div class="cell" data-index="3"></div>
<div class="cell" data-index="4"></div>
<div class="cell" data-index="5"></div>
<div class="cell" data-index="6"></div>
<div class="cell" data-index="7"></div>
<div class="cell" data-index="8"></div>
</div>
<div id="status">
<p>Player <span id="current-player">X</span>'s Turn</p>
</div>
<button id="reset-button">Reset Game</button>
</div>
<script src="tic.js"></script>
</body>
</html>