-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
68 lines (67 loc) · 2.52 KB
/
game.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
<!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" type="text/css" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital@1&display=swap" rel="stylesheet">
<title>Welcome to Blackjack</title>
</head>
<body>
<h1>Blackjack</h1>
<div>
<div class="table">
<div class="board">
<div class= "dealer-container">
<div id="dealer-card1" class="card"></div>
<div id="dealer-card2" class="card"></div>
<div id="dealer-card3" class="card"></div>
<div id="dealer-card4" class="card"></div>
<div id="dealer-card5" class="card"></div>
</div>
<div id="dealer-sum"> </div>
<div class = "player-container">
<div id="player-card1" class="card"></div>
<div id="player-card2" class="card"></div>
<div id="player-card3" class="card"></div>
<div id="player-card4" class="card"></div>
<div id="player-card5" class="card"></div>
</div>
</div>
</div>
<div id="options-container">
<div id="player-sum"></div>
<div id="player-status"></div>
<div id="options"></div>
<button class = 'button' id="start">Start Game</button>
<button class = 'button' id="newRound">New Round</button>
<button class = 'button' id="hit">Hit Me!</button>
<button class = 'button' id="stay">Stay!</button>
<!-- <button class = 'button' id="restart">Restart</button> -->
<a href="./index.html">
<button class = 'button' id="How to">Play!</button>
</a>
</div>
<div id="parent">
<div id="outComes">
<h2>Round Outcomes</h2>
<h4>Wins: <span id="wins"></span></h4>
<h4>Losses: <span id="losses"></span></h4>
<h4>Draws: <span id="draws"></span></h4>
</div>
<div id="betting">
<h2>Betting</h2>
<h4>Current Cash: <span id="player-cash">$0.00</span></h4>
<h4>Profit: $<span id="profit">0.00</span></h4>
<input type="number" placeholder="Enter bet" id="bet-input">
<!-- <button id="set-bet">place</button> -->
<h2>Bet Amount: <span id="bet-amt">$0.00</span></h2>
</div>
</div>
</div>
</body>
<script src="project.js" charset="utf-8"></script>
</html>