-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (49 loc) · 2.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="blackjack.css" rel="stylesheet" type="text/css">
<title>BlackJack - 21</title>
</head>
<body>
<h1 class="nameApp">BLACK<span class="Jack" >JACK</span></h1>
<h2 class="gelenKart"></h2>
<h2 class="gelenKartCroupier"></h2>
<h2 class="gelenKart3"></h2>
<h2 class="gelenKart3Croupier"></h2>
<h2 class="gelenKart4"></h2>
<h2 class="bj"></h2>
<h2 class="bjCroupier"></h2>
<button type="button" class="button4" onclick="getCard()">START</button><br>
<!--BUTTONS FOR PLAYER-->
<button type="button" class="button1" onclick="betGame()">BET 5€</button><br>
<button type="button" class="button2" onclick="giveNewCard()">HIT</button><br>
<button type="button" class="button2a" onclick="giveNewCard1()">HIT</button><br>
<button type="button" class="button3" onclick="doNothing()">STAND</button><br>
<!--BUTTONS FOR CROUPIER-->
<!--<button type="button" class="button2Croupier" onclick="giveNewCard()">HIT</button><br>-->
<!--<button type="button" class="button2aCroupier" onclick="giveNewCard1()">HIT</button><br>-->
<!--<button type="button" class="button3Croupier" onclick="doNothing()">STAND</button><br>-->
<!--IMAGE FOR PLAYER-->
<img id="img1" src="">
<img id="img2" src="">
<img id="img3" src="">
<img id="img4" src="">
<!--IMAGE FOR CROUPIER-->
<img id="img1Croupier" src="">
<img id="img2Croupier" src="">
<img id="img3Croupier" src="">
<!--BALANCE-->
<p class="balance">BALANCE: <span class="money"></span> €</p>
<p class="totalCards"></p> <!--PLAYER 1. - 2. TOTAL CARDS-->
<p class="totalCards3"></p> <!--PLAYER 1. - 2. - 3. TOTAL CARDS-->
<p class="totalCards4"></p> <!--PLAYER 1. - 2. - 3. - 4. TOTAL CARDS-->
<p class="totalCards2"></p> <!--CROUPIER 1. - 2. TOTAL CARDS-->
<p class="totalCards3Croupier"></p> <!--CROUPIER 1. - 2. - 3. TOTAL CARDS-->
<div id="message"></div>
<script src="blackjackGame.js"></script>
<div id="copyright">Copyright © by SerkanKayser</div>
</body>
</html>