This repository has been archived by the owner on Aug 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (60 loc) · 2.16 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
53
54
55
56
57
58
59
60
61
<!doctype html>
<html>
<head>
<title>Blackjack!</title>
<link rel="stylesheet" type="text/css" href="blackjack.css"/>
<audio id="shuffle-sound" preload="auto">
<source src="http://www.soundjay.com/misc/sounds/shuffling-cards-1.mp3"></source>
</audio>
<audio id="deal-card" preload="auto">
<source src="http://www.soundjay.com/misc/sounds/page-flip-02.mp3"></source>
</audio>
<audio id="applause" preload="auto">
<source src="http://www.soundjay.com/human/sounds/applause-8.mp3"></source>
</audio>
</head>
<body>
<table class = "chips">
<tr class = "chips"></tr>
<td class = "chips blue"></td>
<td class = "chips red"></td>
<td class = "chips yellow"></td>
<td class = "chips purple"></td>
<tr class = "chips"></tr>
<td class = "chips blue"></td>
<td class = "chips red"></td>
<td class = "chips yellow"></td>
<td class = "chips purple"></td>
<tr class = "chips"></tr>
<td class = "chips none"></td>
<td class = "chips red"></td>
<td class = "chips yellow"></td>
<td class = "chips none"></td>
<tr class = "chips"></tr>
<td class = "chips none"></td>
<td class = "chips none"></td>
<td class = "chips yellow"></td>
<td class = "chips none"></td>
<!--</table>
<form class = "bet">Bet: <input type="text" placeholder="Enter Bet Amount Here" class = "bet-amount"/>
</form>-->
<button class="start">Start</button>
<button class="hit hidden">Hit</button>
<button class="stand hidden">Stand</button>
<button class="newGame hidden">New Game</button>
<div class="dealerSpot"></div>
<div class ="playerSpot"></div>
<table class = "scoreboard">
<th class = "scoreboard">Score</th>
<th class = "scoreboard">Dealer</th>
<th class = "scoreboard">Player</th>
<tr>
<td class = "scoreboard">Current Game</td>
<td class="dealer-current-score-box scoreboard"></td>
<td class="player-current-score-box scoreboard"></td>
</tr>
</table>
<script type ="text/javascript" src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="blackjack.js"></script>
</body>
</html>