Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (65 loc) · 2.61 KB
/
Copy pathindex.html
File metadata and controls
78 lines (65 loc) · 2.61 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" x-data>
<head>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0"
/>
<title>Pokemon TCG Pocket Draw Simulator</title>
<!-- Meta Properties -->
<meta property="og:title" content="TCG Pocket Draw Simulator" />
<meta property="og:type" content="website" />
<meta name="twitter:card" content="Simulate drawing and playing specific combinations of cards in Pokemon TCG Pocket" />
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap" rel="stylesheet" />
<!-- Simple.css for base styling-->
<link rel="stylesheet" href="./vendor/simple-css/simple.min.css">
<!-- choices.js styles -->
<link rel="stylesheet" href="./vendor/choices-js/choices.min.css" />
<!-- Custom app styles -->
<link rel="stylesheet" href="./css/app.css" />
<!-- Alpine.js -->
<!-- choices.js -->
<script src="./vendor/choices-js/choices.min.js"></script>
<!-- Our App JS (the simulator) -->
<script src="./js/cards.js"></script>
<script src="./js/app.js"></script>
</head>
<body>
<main>
<hgroup>
<h1>TCG Pocket Draw Simulator</h1>
<p class="subheader">Simulate drawing and playing specific combinations of cards in Pokemon TCG Pocket</p>
</hgroup>
<form
x-data="pokemonSimulator()"
x-init="initChoices()"
@submit.prevent="runSimulation"
>
<fieldset>
<legend>Select Cards for Your Deck</legend>
<label for="deckSelection">Pick deck cards (x1 or x2):</label>
<select id="deckSelection" multiple x-ref="deckSelect"></select>
</fieldset>
<fieldset>
<legend>Target Cards</legend>
<label for="targetCards"
>Pick which card(s) you’re aiming to play:</label
>
<select id="targetCards" multiple x-ref="targetCards"></select>
</fieldset>
<button type="submit">Run Simulation</button>
<!-- New fieldset (or div) for log output -->
<fieldset>
<legend>Simulation Log</legend>
<!-- We'll insert messages here -->
<div x-ref="logContainer" class="log-output"></div>
</fieldset>
</form>
</main>
</body>
</html>