-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (78 loc) · 5.06 KB
/
Copy pathindex.html
File metadata and controls
78 lines (78 loc) · 5.06 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
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Okaun Coin Flipping</title>
<link rel="icon" href="favicon.ico" sizes="any">
<link rel="stylesheet" href="styles.css?v=20260701g">
<script src="app.js?v=20260701g" defer></script>
</head>
<body>
<main class="app">
<h1 class="title">Okaun Coin Flipping</h1>
<section class="panel">
<div id="background" class="bg"></div>
<div class="control-grid">
<div class="check-row">
<label class="switch">
<input id="okaunInPlay" type="checkbox">
Okaun in play
</label>
<label class="switch">
<input id="hasThumb" type="checkbox">
Krark's Thumbs
</label>
<div class="number-control" aria-label="Krark's Thumb count">
<button type="button" class="stepper" data-step-for="thumbs" data-step="-1" aria-label="Decrease Krark's Thumb count">-</button>
<input type="number" class="num" id="thumbs" value="1" min="1" max="8" aria-label="Krark's Thumb count" placeholder="Thumbs">
<button type="button" class="stepper" data-step-for="thumbs" data-step="1" aria-label="Increase Krark's Thumb count">+</button>
</div>
</div>
<div class="row button-row">
<input type="button" id="flip" value="Flip once" class="secondary">
<input type="button" id="flip2" value="Flip twice" class="secondary">
</div>
<div class="row action-row">
<div class="number-control" aria-label="Number of flips">
<button type="button" class="stepper" data-step-for="flips" data-step="-1" aria-label="Decrease number of flips">-</button>
<input type="number" id="flips" value="3" min="1" max="1000" aria-label="Number of flips" placeholder="Flips">
<button type="button" class="stepper" data-step-for="flips" data-step="1" aria-label="Increase number of flips">+</button>
</div>
<input type="button" id="flipN" value="Flip N times">
</div>
<div class="row stat-row">
<label>Okaun power / toughness</label>
<div class="number-control" aria-label="Okaun power">
<button type="button" class="stepper" data-step-for="power" data-step="-1" aria-label="Decrease Okaun power">-</button>
<input class="num" type="number" id="power" value="3" min="0" aria-label="Okaun power" placeholder="Power">
<button type="button" class="stepper" data-step-for="power" data-step="1" aria-label="Increase Okaun power">+</button>
</div>
<div class="number-control" aria-label="Okaun toughness">
<button type="button" class="stepper" data-step-for="toughness" data-step="-1" aria-label="Decrease Okaun toughness">-</button>
<input class="num" type="number" id="toughness" value="3" min="0" aria-label="Okaun toughness" placeholder="Toughness">
<button type="button" class="stepper" data-step-for="toughness" data-step="1" aria-label="Increase Okaun toughness">+</button>
</div>
</div>
<div class="row action-row">
<div class="number-control" aria-label="Loss target">
<button type="button" class="stepper" data-step-for="lossTarget" data-step="-1" aria-label="Decrease loss target">-</button>
<input class="num" type="number" id="lossTarget" value="1" min="1" max="100" aria-label="Loss target" placeholder="Losses">
<button type="button" class="stepper" data-step-for="lossTarget" data-step="1" aria-label="Increase loss target">+</button>
</div>
<input type="button" id="flip-lose" value="Flip until X losses">
</div>
</div>
<div id="coins"></div>
<div class="results">
<div id="count"></div>
<div id="losses"></div>
</div>
<button type="button" id="detailsToggle" class="details-toggle secondary" aria-expanded="false" aria-controls="detailsPanel" hidden>Show flip details</button>
<div id="detailsPanel" class="details-panel" hidden>
<ol id="detailsList"></ol>
</div>
</section>
</main>
</body>
</html>