From 6681f0ec1cce3c692b918d95f3cfd81acc14ae72 Mon Sep 17 00:00:00 2001 From: Adam Piontek Date: Sun, 11 Sep 2022 09:05:00 -0400 Subject: [PATCH] improved input to allow any delimeter, or no delimeter, still allowing '0' for unknown cards --- index.html | 37 ++++++++++++++----------------------- main.js | 27 +++++++++++++++------------ 2 files changed, 29 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index 3280efd..e946b48 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,17 @@

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.

+ +

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)

+ +

Entry is case-insensitive, and you may use either any delimeter (space, comma, colon, etc.) or no delimeter. Valid examples:

+ +