-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewTestDoc.html
More file actions
85 lines (79 loc) · 3.02 KB
/
Copy pathnewTestDoc.html
File metadata and controls
85 lines (79 loc) · 3.02 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html>
<head>
<title>Let's play BLACKJACK!</title>
</head>
<body>
<div id="title">
<h1>Let's play Blackjack!</h1>
<img height=70 width=55 src="blackjack.png">
</div>
<hr>
<div id ="play-area">
<div id="betting-area">
<div id="your-money">
<div id="your-money-title"><h4>Your money:</h4></div>
<span id="$">$</span><span id="money-amount"></span>
</div>
<div id="betting-counter">
<label for="betAmount">Bet amount (minimum bet = $5):</label>
<input type="number" id="betAmount" name="betAmount" min="5">
<button type="button" id="submitBet">Bet!</button>
</div>
</div>
<hr>
<div id="hand1-title">
<p><h4>Your hand:</h4></p>
</div>
<div id="hand1-content"></div>
<div id="hand1Bet"></div>
<div id="hand2-title"></div>
<div id="hand2-content"></div>
<div id="hand2Bet"></div>
<div id="hand3-title"></div>
<div id="hand3-content"></div>
<div id="hand3Bet"></div>
<div id="hand4-title"></div>
<div id="hand4-content"></div>
<div id="hand4Bet"></div>
<div id="dealer-hand-title">
<p><h4>Dealer's hand:</h4></p>
</div>
<div id ="dealer-hand-content"></div>
</div>
<br>
<hr>
<div id ="player-action-area">
<div id="Deal"></div>
<div id="player-choices">
<div id="player-chose"></div>
<div id="player-choices-textbox"></div>
<div id="hit-button"></div>
<div id="stay-button"></div>
<div id="double-down-button"></div>
<div id="split-button"></div>
</div>
</div>
<hr>
<div id ="your-running-total-title"><h4>Your total:</h4></div>
<div id="runningtotal-hand1-TITLE"></div>
<div id="your-running-total-hand1"></div>
<div id="runningtotal-hand2-TITLE"></div>
<div id="your-running-total-hand2"></div>
<div id="runningtotal-hand3-TITLE"></div>
<div id="your-running-total-hand3"></div>
<div id="runningtotal-hand4-TITLE"></div>
<div id="your-running-total-hand4"></div>
<div id ="dealer-total-TITLE"><h4>Dealer's total:</h4></div>
<div id ="dealer-running-total"></div>
<div id ="result"></div>
<div id = "dealer-turn-button"></div>
<div id ="next-round"></div>
<br><br>
<hr>
<div id ="rules">Doubling down allowed on splits. Up to 3 Non-ace splits allowed. Re-splitting Aces allowed. No hitting allowed on split Aces.</div>
<script src="newTestDoc.js"></script>
</body>
<footer>
</footer>
</html>