-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (50 loc) · 1.16 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
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="welcome-container active-display">
<h1>Welcome to Tic Tac Toe Game!!!</h1>
<h1>Who do you want to play with ?</h1>
<div class="ask-choice">
<div id="AI">AI</div>
<div id="Human">HUMAN</div>
</div>
</div>
<div class="choice-container">
<h1>What is your choice 'X' or 'O' ?</h1>
<div class="ask-choice">
<div id="X">X</div>
<div id="O">O</div>
</div>
</div>
<div class="game-container">
<h1>TIC TAC TOE</h1>
<table>
<tr>
<td class="cell" id="0"></td>
<td class="cell" id="1"></td>
<td class="cell" id="2"></td>
</tr>
<tr>
<td class="cell" id="3"></td>
<td class="cell" id="4"></td>
<td class="cell" id="5"></td>
</tr>
<tr>
<td class="cell" id="6"></td>
<td class="cell" id="7"></td>
<td class="cell" id="8"></td>
</tr>
</table>
<div class="endgame">
<div class="text"></div>
</div>
<button onClick="startGame()">Replay</button>
</div>
<script src="script.js"></script>
</body>
</html>