-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 1.58 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Pig Game</title>
</head>
<body>
<div class="outer">
<div class="left_section active">
<div class="player_info">
<div class="player_number">PLAYER 1</div>
<div class="high_score">0</div>
</div>
<div class="current_status">
<div class="box">
<div class="text">CURRENT</div>
<div class="current_score">0</div>
</div>
</div>
</div>
<div class="right_section ">
<div class="player_info">
<div class="player_number">PLAYER 2</div>
<div class="high_score">0</div>
</div>
<div class="current_status">
<div class="box">
<div class="text">CURRENT</div>
<div class="current_score">0</div>
</div>
</div>
</div>
<div class="middle">
<button id="new_game">🔁 New Game</button>
<img id="dice" src=""/>
<button id="roll">🎲 Roll</button>
<button id="hold">⏸️ Hold</button>
</div>
<div class="hidden popup">
<div class="text"></div>
<button id="btn">Okay! 🥳🥳</button>
</div>
</div>
<div class="overlay hidden"></div>
<script src="script.js"></script>
</body>
</html>