-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimpleSlots.html
More file actions
33 lines (31 loc) · 1.46 KB
/
Copy pathsimpleSlots.html
File metadata and controls
33 lines (31 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> Simple Slots </title>
<link rel="stylesheet" type="text/css" href="devinDefault.css" title="style" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Uses seedrandom.js by David Bau for a PRNG with defineable seed -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.3.10/seedrandom.min.js"></script>
<script src="simpleSlot.js"></script>
</head>
<body>
<h2> Simple Slots </h2>
<hr />
<div id="slotWindow">
</div>
<br />
<div>
<button class="wager" id="w1" onclick="wager(1)"> Bet 1 </button>
<button class="wager" id="w2" onclick="wager(2)"> Bet 2 </button>
<button class="wager" id="w3" onclick="wager(3)"> Bet 3 </button>
<p>Number of credits: <span id="wallet"></span></p>
<p id="log"></p>
<br />
<!-- https://stackoverflow.com/questions/29884654/button-that-refreshes-the-page-on-click -->
<button id="newGame" onclick="window.location.reload();"> New Game </button><br /><br />
</div>
<!-- https://superdevresources.com/open-links-popup/ -->
<footer> <a href="/simpleSlotsRules.html" target="popup" onclick="window.open('/simpleSlotsRules.html','popup','width=600,height=600'); return false;">Rules</a> <a href="https://github.com/devin-lo/devin-lo.github.io/blob/main/simpleSlot.js" target="_blank">JS Code</a> Copyright 2020 Devin Lo </footer>
</body>
</html>