-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I've been playing with the program for a while. A few things I'd like to see if possible.
1: Eliminate case sensitivity on command line arguments:
Be able use >solitaire-player tripeaks score 30000 12000 as well as >solitaire-player TriPeaks Score 30000 10000
2: Add option to skip verify/confirm prompts:
I've never had an issue with the program identifying the initial layout of cards. It would be nice to have the option to skip that step, and the prompt before asking if one wants it to solve the puzzle. These may be useful if you want to enter any additionally known cards at the start, but generally, I'm happy to trust it to identify and work through the solution mostly unattended.
3: Combine first & 2nd passes in TriPeaks:
I believe the current solve logic is to, on the first pass, Identify the cards in the deck and the face up cards at the bottom of the tableau. The 2nd step is to recursively attempt to uncover the remaining face down cards until it can identify all 52 cards, and then in the final step it solves the game from start to finish. I believe it might be more efficient if the first pass included efforts to uncover hidden cards in the tableau as well. As once it identified all the cards in the deck, it would almost certainly have fewer than 18 unknown cards to identify in the 2nd recursive step which may require fewer undos overall.
Thanks!