-
Notifications
You must be signed in to change notification settings - Fork 110
/
Copy pathindex.html
88 lines (74 loc) · 2.83 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<title>
Jogo da velha
</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="src/styles/estilo.css">
<link rel="stylesheet" href="src/styles/reset.css">
</head>
<body>
<!--NAVBAR -->
<nav class="navbar">
<!--<img class="icon-logo-img" src="src/assets/icon-logo.jpg" alt="Jogador 1" width="50px" height="50px">-->
<h1 class="tituloTxt">
BEM VINDOS AO JOGO DA VELHA <br> BOA SORTE E DIVIRTA-SE!!
</h1>
</nav>
<!--CONTAINER DOS QUADRADOS - CONTAINER PAI E FILHOS -->
<div class="container">
<div class="container1-quadrado">
<div id="1" class="quadrado" onclick="escolherQuadrado('1')">-</div>
<div id="2" class="quadrado" onclick="escolherQuadrado('2')">-</div>
<div id="3" class="quadrado" onclick="escolherQuadrado('3')">-</div>
</div>
<div class="container2-quadrado">
<div id="4" class="quadrado" onclick="escolherQuadrado('4')">-</div>
<div id="5" class="quadrado" onclick="escolherQuadrado('5')">-</div>
<div id="6" class="quadrado" onclick="escolherQuadrado('6')">-</div>
</div>
<div class="container3-quadrado">
<div id="7" class="quadrado" onclick="escolherQuadrado('7')">-</div>
<div id="8" class="quadrado" onclick="escolherQuadrado('8')">-</div>
<div id="9" class="quadrado" onclick="escolherQuadrado('9')">-</div>
</div>
</div>
<!--CONTAINER DOS JOGADORES - ICONES E TEXTOS -->
<div class="container-pai">
<div class="container-jogadores">
<div class="jogador jogador1">
<img class="jogador-icon" src="src/assets/jogador3.png" alt="Jogador 1">
<p>Jogador 1</p>
<p class="peca-jogador"></p>
</div>
<div class="jogador jogador2">
<img class="jogador-icon" src="src/assets/jogador3.png" alt="Jogador 2">
<p>Jogador 2</p>
<p class="peca-jogador"></p>
</div>
</div>
<!--CONTAINER DAS INFORMAÇÕES DOS JOGADORES E DO JOGO -->
<div class="container-info-jogadores">
<div class="jogador1">
<label>
Vez da Peça:
</label>
<label id="jogador-selecionado">
</label>
</div>
<div class="vencedor">
<label>Vencedor:</label>
<label id="vencedor-selecionado">
</label>
</div>
<div class="button-class">
<button onclick="reiniciar()">
Reiniciar
</button>
</div>
</div>
</div>
</body>
<script src="src/scripts/velha.js"></script>
</html>