-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtic-tac-toe.html
153 lines (122 loc) · 4.6 KB
/
tic-tac-toe.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!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="css/tic-tac-toe.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/8b0a25e61d.js" crossorigin="anonymous"></script>
<link rel="shortcut icon" href="images/11.png">
<link rel="stylesheet" type="text/css" href="cssfont/all.css">
<link rel="stylesheet" type="text/css" href="css/button.css">
</head>
<body class="colorB">
<header class="title1">
<a href="index.html">
<i class="fas fa-arrow-circle-left fa-4x" style="flex-direction: left;"></i>
</a>
<a href="scramble.html">
<i class="fas fa-arrow-circle-right fa-4x"></i>
</a>
</header>
<img src="images/1.png" class="small-icon1">
<img src="images/2.png" class="small-icon2">
<img src="images/9.png" class="small-icon3">
<img src="images/4.png" class="small-icon4">
<div id="container">
<!-- Starting Page -->
<div class="heading" id="hide">
<h1 style="font-size:55px; font-weight: 900;" class="effect-5">
<!--margin: 5px; padding: 5px;-->
<span>W</span>
<span>e</span>
<span>l</span>
<span>c</span>
<span>o</span>
<span>m</span>
<span>e </span>
<span>T</span>
<span>o </span>
<span>T</span>
<span>i</span>
<span>c</span>
<span>-</span>
<span>T</span>
<span>a</span>
<span>c</span>
<span>-</span>
<span>T</span>
<span>o</span>
<span>e </span>
<span>G</span>
<span>a</span>
<span>m</span>
<span>e</span>
</h1>
</div>
<div id="startingPage">
<h4 style="font-weight: 900;">Select Which You Want To Be?</h4>
<div id="button">
<button id="playerX" class="choose">Player ( X )</button>
<button id="playerO" class="choose">Player ( O )</button>
</div>
<!-- <div class="GoBack">
<a href="index.html">Click to go Back</a>
</div> -->
</div>
<!-- Main Page -->
<div id="mainPage">
<div class="effect-6">
<h2 style="font-weight: 900; text-align: center;">
<span>E</span>
<span>n</span>
<span>j</span>
<span>o</span>
<span>y </span>
<span>T</span>
<span>h</span>
<span>e </span>
<span>G</span>
<span>a</span>
<span>m</span>
<span>e</span>
<span>.</span>
<span>.</span>
<span>.</span>
</h2>
</div>
<div id="headerBtns">
<button id="turn">X Turn</button>
<button id="O_Turn" style="font-weight: 900;">O Turn</button>
<div id="showChange"></div>
<br><br><br><br><br>
</div>
<div id="gameBoard">
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
<div class="boxes"></div>
</div>
</div>
<!-- WInner Page -->
<div id="winner" class="winnerDiv">
<h2 id="winnerName" style="font-weight: 900;">Player X Win The Game!</h2>
<div id="button">
<button id="quit" style="font-weight: 900;">Play Again</button>
</div>
</div>
<br><br><br><br><br><br><br><br><br>
<footer>
<p class="copy-right">© copyright by Simple Games, All rights are reserved.</p>
</footer>
</div>
<script src="js/tic-tac-toe.js"></script>
</body>
</html>