-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
178 lines (152 loc) · 8.82 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="keywords"
content="Free Poker, play cards, No Download Poker, Instant Play Poker, Free Online Poker, No Registration Poker, Play Poker Without Sign-Up, Browser-based Poker Game,Online Poker for Fun, Play Poker in Browser, Instant Poker Access,No Registration Required Poker,Browser Poker Game, No Sign-Up Poker,Play Poker Without Account, Quick Access Poker, Instant Poker Play,No Download, No Registration Poker,Free Poker Games Online" />
<meta name="description" content="Free Poker. Play for free. No login. No app to install." />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/all.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/brands.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.8.2/css/solid.css" rel="stylesheet" />
<!-- Bootstrap CSS-->
<link href="https://bootswatch.com/5/united/bootstrap.css" rel="stylesheet" id="themedStyle">
<link rel="stylesheet" href="https://aaronrs2002.github.io/black-jack/css/animate.min.css" />
<link href="https://aaronrs2002.github.io/black-jack/css/shared.css" rel="stylesheet">
<link href="https://aaronrs2002.github.io/black-jack/css/style.css" rel="stylesheet">
<title>Poker</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JJWFFXF8G0"></script>
<script>
const urlStr = window.location.href;
if (urlStr.indexOf("file:///Users/") !== -1 || urlStr.indexOf("exclude") !== -1) {
console.log("Not running GA");
} else {
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-JJWFFXF8G0');
}
</script>
</head>
<body>
<div class="container">
<div class="row">
<div class="btn-group form-control mb-2 animated fadeInDown" role="group" alt="Free Poker Games Online">
<button type="button" class="btn btn-primary dealAmt" alt="5" onClick="play(Number(5))">$5</button>
<button type="button" class="btn btn-primary dealAmt" alt="10" onClick="play(Number(10))">$10</button>
<button type="button" class="btn btn-primary dealAmt" alt="25" onClick="play(Number(25))">$25</button>
<button type="button" class="btn btn-primary dealAmt" alt="50" onClick="play(Number(50))">$50</button>
<button type="button" class="btn btn-primary dealAmt" alt="100"
onClick="play(Number(100))">$100</button>
</div>
<div class="col-md-12" alt="play cards">
<div class="alert alert-info" role="alert">
<div class="row">
<div class="col-6">
<h3>Balance: $<span id="playerMoney"></span></h3>
</div>
<div class="col-6">
<h3 id="betTarget">Poker</h3>
</div>
</div>
</div>
</div>
<div class="col-md-12" id="playerFourCards">
</div>
<div class="col-md-12">
<div class="alert alert-info hide" id="playerFourHandDetails" role="alert" data-player="3"></div>
</div>
<div class="col-md-12" id="playerThreeCards">
</div>
<div class="col-md-12">
<div class="alert alert-info hide" id="playerThreeHandDetails" role="alert" data-player="2"></div>
</div>
<div class="col-md-12" id="playerTwoCards">
</div>
<div class="col-md-12">
<div class="alert alert-info hide" id="playerTwoHandDetails" role="alert" data-player="1"></div>
</div>
<div class="col-md-12">
<div id="playerCards"></div>
</div>
<div class="col-md-12 py-1">
<div class="alert alert-info hide" role="alert" id="playerHandDetails" data-player="0"></div>
</div>
<div class="col-md-12 py-1">
<div class="alert hide" id="status" role="alert">
<h5 id="message"></h5>
</div>
<div class="d-grid gap-2">
<button id="foldBt" class="btn btn-danger hide" onClick="javascript:fold()">Fold</button>
</div>
</div>
<div class="col-md-12 py-2">
<div class="d-grid gap-2">
<button class="btn btn-info" onClick="javascript:toggle('rules')" type="button"
data-toggle="default">View Rules</button>
<button class="btn btn-info hide" onClick="javascript:toggle('default')" type="button"
data-toggle="rules">Hide Rules</button>
</div>
<div class="card hide" data-toggle="rules">
<div class="card-body">
<h5 class="card-title">Poker rules:</h5>
<p>First, place a bet from the top. If you do not win the best hand at the deal, replace your
cards one at a time to aim for the win. </p>
<label>Hand Ranking:</label>
<ul class="decimal">
<li>royal-flush: five consecutive cards of the same suit in order of value from 10 through
to ace</li>
<li>straight-flush: Any five cards of sequential values in the same suit that's not a royal
flush is a straight flush.</li>
<li>four-of-a-kind: he same card in all four suits.</li>
<li>full-house: A hand comprising the same value card in three different suits (three of a
kind) and a separate pair of the same rank card in two different suits.
When more than one player has a full house the winning hand is the one with the higher
or highest value three of a kind.</li>
<li>flush: Five cards of the same suit in any order whatsoever</li>
<li>straight: Five cards of sequential numerical value composed of more than one suit.</li>
<li>three-of-a-kind: A poker hand containing three cards of the same rank in three different
suits.</li>
<li>two-pairs: Two different sets of two cards of matching rank</li>
<li>pair: A pair of cards of the same rank in different suits</li>
<li>high-card: The highest card in the hand</li>
</ul>
<small><a
href="https://www.telegraph.co.uk/betting/casino-guides/poker/hand-rankings-chart-cheat-sheet/"
target="_blank">credit:telegraph.co.uk</a></small>
</div>
</div>
</div>
<div class="col-md-12 py-1">
<div class="btn-group block" role="group">
<button type="button" class="btn btn-primary" onclick="javascript:choosePoker('texas-holdem')">Texas
holdem</button>
<button type="button" class="btn btn-primary active"
onclick="javascript:choosePoker('five-card-draw')">5 card draw</button>
</div>
</div>
</div>
</div>
<div class="hide alert fadeInUp" role="alert" id="globalAlert"></div>
<footer class="footer mt-auto py-3 animated fadeInUp">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="btn-group block my-2" role="group" id="gameLinks"></div>
</div>
<div class="col-md-2 my-2"> <select class="form-control" onChange="changeTheme()" id="themes"></select>
</div>
<div class="col-md-4" id="socialList">
</div>
<div class="col-md-2 my-3" id="year"></div>
</div>
</div>
</footer>
</body>
<script src="https://aaronrs2002.github.io/black-jack/js/footer.js"></script>
<script src="https://aaronrs2002.github.io/black-jack/js/cards.js"></script>
<script src="js/functionality.js"></script>
<script src="https://aaronrs2002.github.io/texas-holdem/js/navigation.js"></script>
</html>