-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
117 lines (112 loc) · 5.53 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta
name="description"
content="Tic Tac Toe - Digitalized Paper and Pen Game."
/>
<meta
name="keywords"
content="0xabdulkhaliq, tic-tac-toe, javascript, top, odin project, programming"
/>
<meta name="author" content="0xabdulkhaliq" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#1A2B33">
<meta name="msapplication-navbutton-color" content="#1A2B33">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#1A2B33">
<link rel="apple-touch-icon" sizes="180x180" href="./assets/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon-16x16.png">
<link rel="manifest" href="./assets/site.webmanifest">
<link rel="stylesheet" href="./styles.css">
<title>Tic Tac Toa</title>
</head>
<body>
<header>
<h1>Tic Tac Toa</h1>
</header>
<main class="disabled">
<section class="main__upper-section">
<img src="./assets/logo.svg" alt="x-o game logo">
<h2 data-field-turn="" class="main__player-turn-display">
<section class="main__get-turn-sign"></section>Turn
</h2>
<div role="button" class="main__restart-btn"></div>
</section>
<section class="main__game-board">
<div class="game-board__field" data-index="0" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="1" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="2" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="3" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="4" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="5" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="6" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="7" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
<div class="game-board__field" data-index="8" role="button">
<div class="game-board__state" data-field-state='' data-field-turn=""></div>
</div>
</section>
<section class="main__summary-section">
<section class="main__summary">
<p class="main__display-name">Player X</p>
<h2 class="main__score-displayer">0</h2>
</section>
<section class="main__summary">
<p class="main__display-name">Ties</p>
<h2 class="main__score-displayer">0</h2>
</section>
<section class="main__summary">
<p class="main__display-name">Player O</p>
<h2 class="main__score-displayer">0</h2>
</section>
</section>
</main>
<section class="game-initializer">
<img src="./assets/logo.svg" alt="tic tac toe logo">
<section class="game-initializer__player-picker">
<h3 class="game-initializer__heading">Pick Player 1's Sign</h3>
<section class="game-initializer__sign-selector">
<label for="select-sign" class="game-initializer--hide-label">Select x sign</label>
<input type="radio" name="select-sign" id="sign-x" class="game-initializer__select-x">
<label for="sign-o" class="game-initializer--hide-label">Select p sign</label>
<input type="radio" checked name="select-sign" id="sign-o" class="game-initializer__select-o">
<section class="game-initializer__sign game-initializer__sign--x"></section>
<section class="game-initializer__sign game-initializer__sign--o"></section>
</section>
<p class="game-initializer__notice">Remember: X Goes First</p>
</section>
<div role="button" class="game-initializer__action-btn">Start Game</div>
</section>
<section class="result-conveyer disabled">
<p class="result-conveyer__result">Congratulations !</p>
<h2 data-field-turn="" class="result-conveyer__brief">
<section class="result-conveyer__get-winner-sign"></section>
<section>Takes the Round</section>
</h2>
<section class="result-conveyer__action-section">
<div role="button" class="result-conveyer__reset-btn">Quit</div>
<div role="button" class="result-conveyer__continue-btn">Next Round</div>
</section>
</section>
<script src="./script.js" defer></script>
</body>
</html>