-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (48 loc) · 2.26 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
<!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="./css/style.css" />
<title>Blackjack Game</title>
</head>
<body class="min-h-screen bg-gradient-radial from-[#95f997] to-[#26744b] flex flex-col justify-between items-center font-primaryFont">
<img src="/images/card-back.png" alt="" class="w-44 -mt-32" />
<div id="cards" class="flex justify-center items-center gap-2">
<p id="message" class="text-6xl px-6 py-3 rounded-lg text-green-900"></p>
</div>
<div class="gameInfo h-64 w-96 flex flex-col justify-center items-center relative bg-th-yellow-50 rounded-t-lg px-8 py-3">
<button
id="btnHit"
class="absolute top-0 font-buttonFont bg-th-red-500 text-th-yellow-50 text-3xl px-6 py-3 -mt-8 w-56 rounded-xl ease-in-out drop-shadow-md transition-all hover:scale-90 hover:drop-shadow-none">
HIT
</button>
<div class="gameInfo flex flex-col justify-evenly w-full">
<div class="flex flex-col justify-center items-center">
<h3 class="text-th-gray-200">Cards</h3>
<p id="openedCards" class="text-th-green-700 text-2xl font-bold">-</p>
</div>
<div class="flex flex-col justify-center items-center">
<h3 class="text-th-gray-200">Total</h3>
<p id="cardsTotal" class="text-th-green-700 text-2xl font-bold">-</p>
</div>
</div>
<div class="playerInfo flex justify-evenly w-full mt-6">
<div class="flex flex-col justify-center items-center">
<h3 class="text-th-gray-200">Player</h3>
<p id="playerName" class="text-th-green-700 text-2xl font-bold">-</p>
</div>
<div class="flex flex-col justify-center items-center">
<h3 class="text-th-gray-200">Wallet</h3>
<p id="wallet" class="text-th-green-700 text-2xl font-bold">-</p>
</div>
<div class="flex flex-col justify-center items-center">
<h3 class="text-th-gray-200">Bet</h3>
<p id="bet" class="text-th-green-700 text-2xl font-bold">-</p>
</div>
</div>
</div>
<script src="/js/app.js"></script>
</body>
</html>