-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·85 lines (84 loc) · 3.22 KB
/
Copy pathindex.html
File metadata and controls
executable file
·85 lines (84 loc) · 3.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jogo do Par ou Impar</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Jogo do Par ou Impar</h1>
<div class="game-container">
<div class="player-selection">
<h2>Jogador 1:</h2>
<img id="player1-image" src="" alt="Selected Image">
<div class="dropdown">
<button class="dropbtn">Escolhe a tua personagem</button>
<div class="dropdown-content">
<a href="#">
<img src="image1.png" alt="Image 1">
</a>
<a href="#">
<img src="image2.png" alt="Image 2">
</a>
<a href="#">
<img src="image3.png" alt="Image 3">
</a>
</div>
</div>
</div>
<div class="player-selection">
<h2>Jogador 2:</h2>
<img id="player2-image" src="" alt="Selected Image">
<div class="dropdown">
<button class="dropbtn">Escolhe a tua personagem</button>
<div class="dropdown-content">
<a href="#">
<img src="image1.png" alt="Image 1">
</a>
<a href="#">
<img src="image2.png" alt="Image 2">
</a>
<a href="#">
<img src="image3.png" alt="Image 3">
</a>
</div>
</div>
<input type="radio" id="player2-human" name="player2" checked>
<label for="player2-human">Jogador</label>
<input type="radio" id="player2-computer" name="player2">
<label for="player2-computer">Computador</label>
</div>
<div class="game-board">
<center>
<p id="game-message"></p>
<div class="choice-container"></div>
<div class="choice" id="player1-choice">
<h3>Escolha do jogador 1:</h3>
<button class="even-button">Par</button>
<button class="odd-button">Impar</button>
</div>
</center>
<center>
<br>
<button id="play-button" class="play-button">Joga</button>
<button id="reset-button" class="reset-button">Reinicia</button>
</center>
<center>
<div class="result-container">
<h3>Escolhas:</h3>
<p id="player1-choice-result"></p>
<p id="player2-choice-result"></p>
<p id="game-result"></p>
</div>
</center>
</div>
<div class="scoreboard">
<h2>Tabela de Resultados</h2>
<p id="player1-score">Jogador 1: 0</p>
<p id="player2-score">Jogador 2: 0</p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>