-
Notifications
You must be signed in to change notification settings - Fork 0
/
tictac.html
77 lines (65 loc) · 2.17 KB
/
tictac.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
<!DOCTYPE html>
<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 rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<link rel="stylesheet" href="tictacstyle.css">
<script src="tictacscript.js" defer></script>
</head>
<body>
<div class="board">
<div class="rounds" id="rounds">Round Tracker</div>
<!-- It will contain the restart feature and whose next turn it is -->
<div class="titlebar">
<div class="markers title-cells">
<i class="fas fa-times"></i>
<i class="far fa-circle"></i>
</div>
<div class="turn-show title-cells" id="turn-show"></div>
<div class="restart title-cells" id="restart">
<i class="fas fa-redo"></i>
</div>
</div>
<!-- It will contain all the cell for markers -->
<div class="board-cells" id="board-cells">
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
<div class="cell" data-cell></div>
</div>
<!-- It will show the scorecard -->
<div class="scorebar">
<div class="x-counter score">
<span>X SCORE</span>
<span class="score-count" id="x-counter"></span>
</div>
<div class="tie-counter score">
<span>TIE SCORE</span>
<span class="score-count" id="tie-counter"></span>
</div>
<div class="o-counter score">
<span>O SCORE</span>
<span class="score-count" id="o-counter"></span>
</div>
</div>
</div>
<!-- ---------------------------------------------------------------------------- -->
<!-- It will show the display message -->
<div class="message" id="message-text">
<div lost-won-message></div>
<div takes-the-round></div>
<div class="buttons">
<button id="quit">RESTART</button>
</div>
</div>
</body>
</html>