-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingleplayer.html
More file actions
54 lines (41 loc) · 1.65 KB
/
Copy pathsingleplayer.html
File metadata and controls
54 lines (41 loc) · 1.65 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="css/singleplayer-style.css">
<link rel="icon" href="image/favicon.png">
</head>
<body>
<h1>TIC TAC TOE</h1>
<button id="b1" onClick="startGame()">RESET</button>
<table>
<tbody>
<tr>
<td><button class = "cell" id="0" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="1" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="2" style="width: 100px; height: 100px; "></button></td>
</tr>
<tr>
<td><button class = "cell" id="3" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="4" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="5" style="width: 100px; height: 100px; "></button></td>
</tr>
<tr>
<td><button class = "cell" id="6" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="7" style="width: 100px; height: 100px; "></button></td>
<td><button class = "cell" id="8" style="width: 100px; height: 100px; "></button></td>
</tr>
</tbody>
</table>
<div class="endgame">
<div class="text"></div>
</div>
<div class = "selectSym">
<p>Select symbol:</p>
<button onClick="selectSym('X')">X</button>
<button onClick="selectSym('O')">O</button>
</div>
<script src="js/single-player.js"></script>
</body>
</html>