diff --git a/cardSvgs.js b/cardSvgs.js
new file mode 100644
index 0000000..d56c514
--- /dev/null
+++ b/cardSvgs.js
@@ -0,0 +1,128 @@
+// backs & joker
+import card1B from "./cards/1B.svg?raw";
+import card2B from "./cards/2B.svg?raw";
+import card1J from "./cards/1J.svg?raw";
+
+// suit: clubs
+import cardAC from "./cards/AC.svg?raw";
+import card2C from "./cards/2C.svg?raw";
+import card3C from "./cards/3C.svg?raw";
+import card4C from "./cards/4C.svg?raw";
+import card5C from "./cards/5C.svg?raw";
+import card6C from "./cards/6C.svg?raw";
+import card7C from "./cards/7C.svg?raw";
+import card8C from "./cards/8C.svg?raw";
+import card9C from "./cards/9C.svg?raw";
+import cardTC from "./cards/TC.svg?raw";
+import cardJC from "./cards/JC.svg?raw";
+import cardQC from "./cards/QC.svg?raw";
+import cardKC from "./cards/KC.svg?raw";
+
+// suit: diamonds
+import cardAD from "./cards/AD.svg?raw";
+import card2D from "./cards/2D.svg?raw";
+import card3D from "./cards/3D.svg?raw";
+import card4D from "./cards/4D.svg?raw";
+import card5D from "./cards/5D.svg?raw";
+import card6D from "./cards/6D.svg?raw";
+import card7D from "./cards/7D.svg?raw";
+import card8D from "./cards/8D.svg?raw";
+import card9D from "./cards/9D.svg?raw";
+import cardTD from "./cards/TD.svg?raw";
+import cardJD from "./cards/JD.svg?raw";
+import cardQD from "./cards/QD.svg?raw";
+import cardKD from "./cards/KD.svg?raw";
+
+// suit: hearts
+import cardAH from "./cards/AH.svg?raw";
+import card2H from "./cards/2H.svg?raw";
+import card3H from "./cards/3H.svg?raw";
+import card4H from "./cards/4H.svg?raw";
+import card5H from "./cards/5H.svg?raw";
+import card6H from "./cards/6H.svg?raw";
+import card7H from "./cards/7H.svg?raw";
+import card8H from "./cards/8H.svg?raw";
+import card9H from "./cards/9H.svg?raw";
+import cardTH from "./cards/TH.svg?raw";
+import cardJH from "./cards/JH.svg?raw";
+import cardQH from "./cards/QH.svg?raw";
+import cardKH from "./cards/KH.svg?raw";
+
+// suit: spades
+import cardAS from "./cards/AS.svg?raw";
+import card2S from "./cards/2S.svg?raw";
+import card3S from "./cards/3S.svg?raw";
+import card4S from "./cards/4S.svg?raw";
+import card5S from "./cards/5S.svg?raw";
+import card6S from "./cards/6S.svg?raw";
+import card7S from "./cards/7S.svg?raw";
+import card8S from "./cards/8S.svg?raw";
+import card9S from "./cards/9S.svg?raw";
+import cardTS from "./cards/TS.svg?raw";
+import cardJS from "./cards/JS.svg?raw";
+import cardQS from "./cards/QS.svg?raw";
+import cardKS from "./cards/KS.svg?raw";
+
+let cardSvgs = {
+ "1B": card1B,
+ "2B": card2B,
+ "1J": card1J,
+
+ AC: cardAC,
+ "2C": card2C,
+ "3C": card3C,
+ "4C": card4C,
+ "5C": card5C,
+ "6C": card6C,
+ "7C": card7C,
+ "8C": card8C,
+ "9C": card9C,
+ TC: cardTC,
+ JC: cardJC,
+ QC: cardQC,
+ KC: cardKC,
+
+ AD: cardAD,
+ "2D": card2D,
+ "3D": card3D,
+ "4D": card4D,
+ "5D": card5D,
+ "6D": card6D,
+ "7D": card7D,
+ "8D": card8D,
+ "9D": card9D,
+ TD: cardTD,
+ JD: cardJD,
+ QD: cardQD,
+ KD: cardKD,
+
+ AH: cardAH,
+ "2H": card2H,
+ "3H": card3H,
+ "4H": card4H,
+ "5H": card5H,
+ "6H": card6H,
+ "7H": card7H,
+ "8H": card8H,
+ "9H": card9H,
+ TH: cardTH,
+ JH: cardJH,
+ QH: cardQH,
+ KH: cardKH,
+
+ AS: cardAS,
+ "2S": card2S,
+ "3S": card3S,
+ "4S": card4S,
+ "5S": card5S,
+ "6S": card6S,
+ "7S": card7S,
+ "8S": card8S,
+ "9S": card9S,
+ TS: cardTS,
+ JS: cardJS,
+ QS: cardQS,
+ KS: cardKS,
+};
+
+export default cardSvgs;
diff --git a/cards/1B.svg b/cards/1B.svg
new file mode 100644
index 0000000..65291aa
--- /dev/null
+++ b/cards/1B.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/1J.svg b/cards/1J.svg
new file mode 100644
index 0000000..a431642
--- /dev/null
+++ b/cards/1J.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2B.svg b/cards/2B.svg
new file mode 100644
index 0000000..5f222f5
--- /dev/null
+++ b/cards/2B.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2C.svg b/cards/2C.svg
new file mode 100644
index 0000000..134aad7
--- /dev/null
+++ b/cards/2C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2D.svg b/cards/2D.svg
new file mode 100644
index 0000000..40b6f89
--- /dev/null
+++ b/cards/2D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2H.svg b/cards/2H.svg
new file mode 100644
index 0000000..2792f0c
--- /dev/null
+++ b/cards/2H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2J.svg b/cards/2J.svg
new file mode 100644
index 0000000..605363c
--- /dev/null
+++ b/cards/2J.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/2S.svg b/cards/2S.svg
new file mode 100644
index 0000000..dc71b0c
--- /dev/null
+++ b/cards/2S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/3C.svg b/cards/3C.svg
new file mode 100644
index 0000000..0577b58
--- /dev/null
+++ b/cards/3C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/3D.svg b/cards/3D.svg
new file mode 100644
index 0000000..6eb6250
--- /dev/null
+++ b/cards/3D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/3H.svg b/cards/3H.svg
new file mode 100644
index 0000000..fefbdfd
--- /dev/null
+++ b/cards/3H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/3S.svg b/cards/3S.svg
new file mode 100644
index 0000000..e438a40
--- /dev/null
+++ b/cards/3S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/4C.svg b/cards/4C.svg
new file mode 100644
index 0000000..c785924
--- /dev/null
+++ b/cards/4C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/4D.svg b/cards/4D.svg
new file mode 100644
index 0000000..ac8e9df
--- /dev/null
+++ b/cards/4D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/4H.svg b/cards/4H.svg
new file mode 100644
index 0000000..81606c3
--- /dev/null
+++ b/cards/4H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/4S.svg b/cards/4S.svg
new file mode 100644
index 0000000..face015
--- /dev/null
+++ b/cards/4S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/5C.svg b/cards/5C.svg
new file mode 100644
index 0000000..8801a5c
--- /dev/null
+++ b/cards/5C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/5D.svg b/cards/5D.svg
new file mode 100644
index 0000000..40c1918
--- /dev/null
+++ b/cards/5D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/5H.svg b/cards/5H.svg
new file mode 100644
index 0000000..3a90567
--- /dev/null
+++ b/cards/5H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/5S.svg b/cards/5S.svg
new file mode 100644
index 0000000..16f116f
--- /dev/null
+++ b/cards/5S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/6C.svg b/cards/6C.svg
new file mode 100644
index 0000000..57b72aa
--- /dev/null
+++ b/cards/6C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/6D.svg b/cards/6D.svg
new file mode 100644
index 0000000..2a1f8e2
--- /dev/null
+++ b/cards/6D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/6H.svg b/cards/6H.svg
new file mode 100644
index 0000000..f95ede7
--- /dev/null
+++ b/cards/6H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/6S.svg b/cards/6S.svg
new file mode 100644
index 0000000..7160399
--- /dev/null
+++ b/cards/6S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/7C.svg b/cards/7C.svg
new file mode 100644
index 0000000..1457b32
--- /dev/null
+++ b/cards/7C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/7D.svg b/cards/7D.svg
new file mode 100644
index 0000000..f6689bf
--- /dev/null
+++ b/cards/7D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/7H.svg b/cards/7H.svg
new file mode 100644
index 0000000..ba3329d
--- /dev/null
+++ b/cards/7H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/7S.svg b/cards/7S.svg
new file mode 100644
index 0000000..c824df4
--- /dev/null
+++ b/cards/7S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/8C.svg b/cards/8C.svg
new file mode 100644
index 0000000..d407463
--- /dev/null
+++ b/cards/8C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/8D.svg b/cards/8D.svg
new file mode 100644
index 0000000..f501eca
--- /dev/null
+++ b/cards/8D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/8H.svg b/cards/8H.svg
new file mode 100644
index 0000000..7f03eda
--- /dev/null
+++ b/cards/8H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/8S.svg b/cards/8S.svg
new file mode 100644
index 0000000..d05f534
--- /dev/null
+++ b/cards/8S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/9C.svg b/cards/9C.svg
new file mode 100644
index 0000000..e1e195e
--- /dev/null
+++ b/cards/9C.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/9D.svg b/cards/9D.svg
new file mode 100644
index 0000000..69863b6
--- /dev/null
+++ b/cards/9D.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/9H.svg b/cards/9H.svg
new file mode 100644
index 0000000..abd69ad
--- /dev/null
+++ b/cards/9H.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/9S.svg b/cards/9S.svg
new file mode 100644
index 0000000..a60ce5e
--- /dev/null
+++ b/cards/9S.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/AC.svg b/cards/AC.svg
new file mode 100644
index 0000000..f30278b
--- /dev/null
+++ b/cards/AC.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/AD.svg b/cards/AD.svg
new file mode 100644
index 0000000..750a2e8
--- /dev/null
+++ b/cards/AD.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/AH.svg b/cards/AH.svg
new file mode 100644
index 0000000..9299c8b
--- /dev/null
+++ b/cards/AH.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/AS.svg b/cards/AS.svg
new file mode 100644
index 0000000..5243bea
--- /dev/null
+++ b/cards/AS.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/JC.svg b/cards/JC.svg
new file mode 100644
index 0000000..4746b92
--- /dev/null
+++ b/cards/JC.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/JD.svg b/cards/JD.svg
new file mode 100644
index 0000000..21569f2
--- /dev/null
+++ b/cards/JD.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/JH.svg b/cards/JH.svg
new file mode 100644
index 0000000..26df816
--- /dev/null
+++ b/cards/JH.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/JS.svg b/cards/JS.svg
new file mode 100644
index 0000000..e7fb4b2
--- /dev/null
+++ b/cards/JS.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/KC.svg b/cards/KC.svg
new file mode 100644
index 0000000..b6e2b68
--- /dev/null
+++ b/cards/KC.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/KD.svg b/cards/KD.svg
new file mode 100644
index 0000000..20f4d35
--- /dev/null
+++ b/cards/KD.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/KH.svg b/cards/KH.svg
new file mode 100644
index 0000000..732d9ee
--- /dev/null
+++ b/cards/KH.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/KS.svg b/cards/KS.svg
new file mode 100644
index 0000000..509a923
--- /dev/null
+++ b/cards/KS.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/QC.svg b/cards/QC.svg
new file mode 100644
index 0000000..ca33405
--- /dev/null
+++ b/cards/QC.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/QD.svg b/cards/QD.svg
new file mode 100644
index 0000000..e0cfbaf
--- /dev/null
+++ b/cards/QD.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/QH.svg b/cards/QH.svg
new file mode 100644
index 0000000..afc048a
--- /dev/null
+++ b/cards/QH.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/QS.svg b/cards/QS.svg
new file mode 100644
index 0000000..30d6c17
--- /dev/null
+++ b/cards/QS.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/TC.svg b/cards/TC.svg
new file mode 100644
index 0000000..351e51c
--- /dev/null
+++ b/cards/TC.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/TD.svg b/cards/TD.svg
new file mode 100644
index 0000000..bbd4c88
--- /dev/null
+++ b/cards/TD.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/TH.svg b/cards/TH.svg
new file mode 100644
index 0000000..018e4d9
--- /dev/null
+++ b/cards/TH.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/cards/TS.svg b/cards/TS.svg
new file mode 100644
index 0000000..e859e11
--- /dev/null
+++ b/cards/TS.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/index.html b/index.html
index 93efaa2..a9f880d 100644
--- a/index.html
+++ b/index.html
@@ -7,30 +7,49 @@
Tripeaks Solver
-
+
-
Tripeaks Solver
-
Enter cards representing a Tripeaks game below. Enter each card as 2 characters each, representing the rank (A, 2, 3, 4, 5, 6, 7, 8, 9, T, J, Q, K) and suit (C, D, H, S). For example, "TH" is the Ten of Hearts.
+
+ Enter cards representing a Tripeaks game below. Enter each card as 2
+ characters representing the rank (A, 2, 3, 4, 5, 6, 7, 8, 9, T, J,
+ Q, K) and suit (C, D, H, S). For example, "TH" is the Ten of Hearts.
+
-
Use a 0 (zero) to represent unknown cards. However, all cards from the last row and the stock must be known (i.e., you must enter valid cards for the last 34 cards)
+
+ Use a single zero ("0") for unknown cards. However, the last 34
+ cards (bottom row & stock) must be known, and you don't need to
+ enter unknown cards before the first card you know.
+
-
Entry is case-insensitive, and you may use either any delimeter (space, comma, colon, etc.) or no delimeter. Valid examples:
+
+ Entry is case-insensitive, and you can separate cards with any
+ character (space, comma, etc), or use no separator. Valid examples:
+