-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (66 loc) · 2.91 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
<!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">
<link rel="stylesheet" href="style.css">
<title>Hash Game</title>
</head>
<body>
<h1>Hash Game</h1>
<div id="telaLogin" class="telaLogin">
<h3>To start the game, enter your login:</h3>
<input id="usuario" type="text" placeholder="user: play">
<input id="senha" type="password" placeholder="password: win">
<button onclick="fazerLogin()">Enter</button>
</div>
<div id="areaJogo" class="areaJogo">
<audio id="audio" src="" autoplay></audio>
<h3 id="rodada">Rodada 1</h3>
<div class="placarJogadores">
<div class="players">
<div>
<h2>Natacha</h2>
<h3 id="pontosJog">Points: 0</h3>
<p>Play with X</p>
</div>
<div>
<h2>CPU</h2>
<h3 id="pontosCPU">Points: 0</h3>
<p>Play with O</p>
</div>
</div>
<h4 id="mensagemVencedor"></h4>
</div>
<div id="jogadas" class="jogadas">
<img class="tabuleiro"
src="imagens/tabuleiro.jpg">
<button id="bot1" onclick="fazerJogada1()">
<img id="botIm1" class="bot1"
src="imagens/botaoZerado.png"></button>
<button id="bot2" onclick="fazerJogada2()"><img id="botIm2" class="bot2"
src="imagens/botaoZerado.png"></button>
<button id="bot3" onclick="fazerJogada3()"><img id="botIm3" class="bot3"
src="imagens/botaoZerado.png"></button>
<button id="bot4" onclick="fazerJogada4()"><img id="botIm4" class="bot4"
src="imagens/botaoZerado.png"></button>
<button id="bot5" onclick="fazerJogada5()"><img id="botIm5" class="bot5"
src="imagens/botaoZerado.png"></button>
<button id="bot6" onclick="fazerJogada6()"><img id="botIm6" class="bot6"
src="imagens/botaoZerado.png"></button>
<button id="bot7" onclick="fazerJogada7()"><img id="botIm7" class="bot7"
src="imagens/botaoZerado.png"></button>
<button id="bot8" onclick="fazerJogada8()"><img id="botIm8" class="bot8"
src="imagens/botaoZerado.png"></button>
<button id="bot9" onclick="fazerJogada9()"><img id="botIm9" class="bot9"
src="imagens/botaoZerado.png"></button>
</div>
<div id="painelVencedor" class="painelVencedor">
<p>🎉🎈🎉🎈🎉🎈🎉🎈🎉🎈🎉🎈🎉🎈</p>
<video id="video" src="" autoplay controls></video>
</div>
</div>
<script src="main.js"></script>
</body>
</html>