-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.html
67 lines (50 loc) · 1.42 KB
/
home.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
<!DOCTYPE html>
<html>
<head>
<title>Blackjack JavaScript edition</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel = 'stylesheet' href = 'style.css'>
</head>
<body>
<div id = 'container'>
<h3>Dealer's cards:</h3>
<ul id = 'dealer'>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<h3>Your cards:</h3>
<ul id = 'player'>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div id = 'divmoney'>
<h3>Your total money:</h3>
<h2 id = 'moneyTotal'></h2>
</div>
<div id = 'divbet'>
<h3>Your bet:</h3>
<input type = 'text' id = 'bet'></input>
</div>
</div>
<div id = 'footer'>
<button type = 'button' id = 'hit'> Hit </button>
<button type = 'button' id = 'stand'> Stand </button>
<button type = 'button' id = 'new_round'> New Round </button>
<p id = 'statusMessage'>Welcome to Blackjack!</p>
</div>
<div id = 'divnew'>
<button type = 'button' id = 'new_game'> New Game </button>
</div>
<script src = './card.js'></script>
<script src = './deck.js'></script>
<script src = './player.js'></script>
<script src = './blackjack.js'></script>
</body>
</html>