-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (45 loc) · 1.6 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
50
51
52
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Blackjack!</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
</head>
<body>
<div id="main-container">
<div id="wrapper">
<button id="playGame">PLAY BLACKJACK</button>
</div>
<div id="gameBoard">
<h1><span id="score">YOUR SCORE: 0</span></h1>
<div id="dealerDiv">
<h2>DEALER HAND</h2>
<div id="dealerGamePieces" class="pieceBoard">
<div id="surpriseButton" class="leftBox"></div>
<div class="hand" id="dealerHand"></div>
<div id="dealerHandValue" class="rightBox"></div>
</div>
</div>
<div id="center-board">
<button id="hit">HIT</button>
<div id="deck">
<img src="card-images/JPEG/blue_back.jpg" alt="deck of cards" id="deck-image" class="card">
</div>
<button id="stand">STAND</button>
</div>
<div id="playerDiv">
<h2>PLAYER HAND</h2>
<div id="playerGamePieces" class="pieceBoard">
<div id="notificationDiv" class="leftBox"> Good Luck!</div>
<div class="hand" id="playerHand"><!-- cards go here --></div>
<div id="playerHandValue" class="rightBox">21</div>
</div>
</div>
<div id="info-row"></div>
</div>
</div>
<script type="text/javascript" src="deck.js"></script>
<script type="text/javascript" src="blackjack.js"></script>
</body>
</html>