-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOnePlayer.html
74 lines (64 loc) · 2.37 KB
/
OnePlayer.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tic Tac Toe</title>
<link href="style.css" rel="stylesheet">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Pangolin&display=swap" rel="stylesheet">
</head>
<body>
<header>
<p style="font-size: 20px;">Tic Tac Toe Game<br>
Have Fun 😀
</p>
<img src="Images/download.png" alt="game-icon" style="width: 50px;">
</header>
<div id="score-board">
<div>Computer's Score<div id="comp-score">0</div></div>
<div>Player Score<div id="player-score">0</div></div>
</div>
<div id="result" style="font-size: 30px;"></div>
<div id="result-icon"><img src="Images/mood_bad_black_24dp.svg" alt="result-icon" style="width: 50px;"></div>
<!--One Player Game page-->
<div id="One-player-game" class="page">
<div>
<p>
Would you like to be X or O?
</p>
</div>
<button class="btns btnxo1">X</button>
<button class="btns btnxo1">O</button>
<div>
<a href="index.html">
<button class="btns"><img src="Images/arrow_back_black_24dp.svg" alt="arrow-back" class="back-icon">
Back</button></a>
</div>
</div>
<div class="page" id="table">
<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 style="display: flex; justify-content:center;">
<button class="btns" id="reset">Reset</button>
<a href="index.html"><button id="resetall" class="btns" >Reset All</button></a>
</div>
</div>
<script src="OnePlayer.js" type="text/javascript"></script>
</body>
</html>