-
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.66 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 1.66 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" />
<title>Document</title>
<link rel="stylesheet" href="./main.css" />
</head>
<body>
<main class="text-center">
<div class="player1 win-0 bg-yellow-100 border-4 active-player">
<p class="font-bold">PLAYER 1</p>
<p class="player0-score">0</p>
<div class="my-5 bg-green-300 rounded-md">
<p class="font-bold">CURRENT</p>
<p class="current-0">0</p>
</div>
</div>
<div class="player2 win-1 bg-yellow-100 border-4">
<p class="font-bold">PLAYER 2</p>
<p class="player1-score">0</p>
<div class="my-5 bg-green-300 rounded-md">
<p class="font-bold">CURRENT</p>
<p class="current-1">0</p>
</div>
</div>
<img
src="./public/dice-1.png"
alt=""
class="dice h-14 w-14hover:border-red-600 hidden"
/>
</main>
<div class="btns flex justify-center my-5 gap-3 text-xs">
<button class="newgame font-bold">New Game</button>
<button class="rolldice font-bold">Roll Dice</button>
<button class="hold font-bold">Hold</button>
</div>
<div class="text-left instructions mx-auto">
<h1 class="font-bold">Instructions 📓</h1>
<ul>
<li>1️⃣ Player changes if you roll 1 </li>
<li>2️⃣ Hold to bank score</li>
<li>3️⃣ First player to reach 50 wins</li>
<li>3️⃣ Have Fun</li>
</ul>
</div>
<script type="module" src="script.js"></script>
</body>
</html>