-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpicpoker.html
73 lines (70 loc) · 2.04 KB
/
picpoker.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
<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script src='picpoker.js'></script>
<style>
html, body {
zoom: 117.5%;
}
</style>
<a href='https://www.mariowiki.com/Picture_Poker'>Full description of this game</a>.
<h3>Hand order (Whoever has the higher pattern wins that amount of coins):</h3>
<table>
<tr>
<td>⭐⭐⭐⭐⭐</td>
<td>16</td>
</tr>
<tr>
<td>⭐⭐⭐⭐</td>
<td>8</td>
</tr>
<tr>
<td>⭐⭐⭐🍄🍄</td>
<td>6</td>
</tr>
<tr>
<td>⭐⭐⭐</td>
<td>4</td>
</tr>
<tr>
<td>⭐⭐🍄🍄</td>
<td>3</td>
</tr>
<tr>
<td>⭐⭐</td>
<td>2</td>
</tr>
</table>
<h3>Symbol order (Left to right. If same pattern, the pattern which starts with a superior emoji wins):</h3>
⭐🍎🥒🌻🍄☁️
<hr>
<span style='font-size: large;'>Your current balance: <b id='bal'></b> Win counter: <b id='win counter'></b></span><br>
<button id='bet button' onclick="addBet()">Bet</button>
<span id='bet display'></span>(Max 5)
<hr>
<table>
<tr>
<td style='font-size: large;'>His cards:</td>
<td id='hand bot'></td>
<td> > </td>
<td id='hand sorted bot'></td>
</tr>
<tr>
<td style='font-size: large;'>Your cards: </td>
<td id='hand player'></td>
<td> > </td>
<td id='hand sorted player'></td>
</tr>
<tr>
<td></td>
<td id='hold draw buttons'>
<button onclick="selectCard(event, 16)"></button>
<button onclick="selectCard(event, 8)"></button>
<button onclick="selectCard(event, 4)"></button>
<button onclick="selectCard(event, 2)"></button>
<button onclick="selectCard(event, 1)"></button>
</td>
</tr>
</table>
<h5>Click on the 5 buttons to hold/draw the corresponding card. (Black=Will be drawn)</h5>
<button id='next' onclick="proceed(event)"></button><span id='result'></span>