-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (151 loc) · 4.81 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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
<!DOCTYPE html>
<html lang="pt-br" class="dark-mode">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Jogo feito para desenvolver a lógica." />
<meta name="author" content="Cicero Eduardo" />
<meta name="creator" content="Cicero Eduardo" />
<link
rel="shortcut icon"
href="./images/jogo-da-velha.png"
type="image/x-icon"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400;500;600;700&display=swap"
rel="stylesheet"
/>
<title>Tic Tac Toe</title>
<link rel="stylesheet" href="./styles/index.css" />
<script type="module" src="./scripts/index.js" defer></script>
</head>
<body>
<div class="container">
<header>
<section class="containerExit">
<div class="exit">
<p>Sair</p>
</div>
</section>
<section class="containerTitle">
<div class="boxTitle">
<h1>JOGO DA VELHA</h1>
</div>
<div class="boxInformation">
<div>Vez: <span id="currentPlayer">Jogador 1</span></div>
<div class="time">00:00</div>
</div>
</section>
</header>
<main>
<article>
<section class="containerInitialize">
<div class="boxHeader">
<div class="boxRanque">
<img src="./images/ranque.png" alt="Troféu" />
<span>Ranque</span>
</div>
<div class="boxSwitch">
<div id="switch">
<button></button>
<span></span>
</div>
</div>
</div>
<div class="boxPlayersName">
<form class="formPlayerName">
<input
type="text"
class="player"
id="player1"
autocomplete="off"
placeholder="Player 1"
autofocus
/>
<span>X</span>
<input
type="text"
class="player"
id="player2"
autocomplete="off"
placeholder="Player 2"
/>
<button type="submit" class="init" disabled>Jogar</button>
</form>
</div>
</section>
<section class="containerRanque">
<div class="boxTitleRanquePlayers">
<table border="1" class="tableRanque">
<thead>
<tr>
<th>N°</th>
<th>Jogador</th>
<th>Vitórias</th>
</tr>
</thead>
</table>
</div>
<div class="boxRanquePlayers">
<table border="1" class="tableValues tableRanque">
<tbody>
<tr>
<td>1°</td>
<td>Eduardo</td>
<td>Arthur</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="containerGame">
<div class="boxLines">
<div class="boxLinesHorizontal">
<div class="lineHorizontal"></div>
<div class="lineHorizontal"></div>
</div>
<div class="boxLinesVertical">
<div class="lineVertical"></div>
<div class="lineVertical"></div>
</div>
</div>
<div class="boxParts">
<table class="tableParts">
<thead>
<tr>
<td class="part0"></td>
<td class="part1"></td>
<td class="part2"></td>
</tr>
</thead>
<tbody>
<tr>
<td class="part3"></td>
<td class="part4"></td>
<td class="part5"></td>
</tr>
</tbody>
<tfoot>
<tr>
<td class="part6"></td>
<td class="part7"></td>
<td class="part8"></td>
</tr>
</tfoot>
</table>
</div>
</section>
</article>
</main>
<footer>
<div class="copyright">
<a href="https://github.com/CiceroEduardo84" target="_blank">
<strong> ©Cicero Eduardo</strong>
</a>
</div>
</footer>
</div>
</body>
</html>