-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
31 lines (28 loc) · 815 Bytes
/
game.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
<!DOCTYPE html>
<html>
<head>
<title>BlackJackJS - Game</title>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="game.js"></script>
<script src="preload_images.js"></script>
<link href="game.css" type="text/css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
</head>
<body onload="preloadImages()">
<h1>BlackJackJS</h1>
<h4 id="money">Money: </h4>
<h4 id="stats">Wins: 0 Losses: 0 Draws: 0 </h4>
<div id="gamearea">
</div>
<script>
runGame();
function runGame() {
initialiseGame();
buildGameArea();
setMoney();
startGameButtons(false, null);
}
</script>
<div id="preload" style="display: none"></div>
</body>
</html>