-
Notifications
You must be signed in to change notification settings - Fork 0
/
prod3.html
29 lines (29 loc) · 1.05 KB
/
prod3.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
<!DOCTYPE html>
<html lang="en">
<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="tyles.css">
</head>
<body>
<div class="container">
<h1>Tic-Tac-Toe</h1>
<div id="game-board">
<div class="cell" data-cell="0"></div>
<div class="cell" data-cell="1"></div>
<div class="cell" data-cell="2"></div>
<div class="cell" data-cell="3"></div>
<div class="cell" data-cell="4"></div>
<div class="cell" data-cell="5"></div>
<div class="cell" data-cell="6"></div>
<div class="cell" data-cell="7"></div>
<div class="cell" data-cell="8"></div>
</div>
<div id="status">Player X's turn</div>
<div id="result" class="hidden"></div> <!-- Result display for win/lose/draw -->
<button id="restart-btn">Restart Game</button>
</div>
<script src="cript.js"></script>
</body>
</html>