124 Commits

Author SHA1 Message Date
Quaternions 8269c7e87f improve priority 2026-05-16 19:01:01 -07:00
Quaternions 418e0b5867 spam enter for auto 2026-05-16 18:15:00 -07:00
Quaternions 35931fc0dc get_good_move function 2026-05-16 18:12:49 -07:00
Quaternions 8eba64aecf moving a non-king to reveal empty tableau also counts as reveal 2026-05-16 18:08:05 -07:00
Quaternions d43f4c5693 improve move picking 2026-05-16 18:01:46 -07:00
Quaternions c0479e7ca5 reuse input allocation 2026-05-16 17:10:57 -07:00
Quaternions 9a6745b9de rename to lib 2026-05-16 17:04:11 -07:00
Quaternions c8de8bad84 delete lib 2026-05-16 17:04:11 -07:00
Quaternions 5ed4ec139f separate klondike 2026-05-16 17:04:11 -07:00
Quaternions fe2530bfc8 separate klondike-cli 2026-05-16 16:56:43 -07:00
Quaternions bfb3d28e1b move into folder 2026-05-16 16:39:59 -07:00
Quaternions 7b368e3cf4 add cargo registry 2026-05-16 12:58:07 -07:00
Quaternions 5330190e47 add crate info 2026-05-16 12:58:01 -07:00
Quaternions 3f68ce545d skip some tableau moves for autoplay 2026-05-16 12:41:02 -07:00
Quaternions a3e405b4bc tweaks 2026-05-16 12:37:32 -07:00
Quaternions 35299309e0 rename take_cards to take_stack 2026-05-16 12:32:22 -07:00
Quaternions ae591a6ee1 filter useless moves 2026-05-16 12:14:52 -07:00
Quaternions 4383228aad fix take_top_card using pop_flip_up 2026-05-16 12:11:29 -07:00
Quaternions a8051b221b Refactor KlondikeInstruction (#4)
Fixes #2

Reviewed-on: #4
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2026-05-16 19:09:11 +00:00
Quaternions 0d98f8e25e validate other instructions 2026-05-16 10:35:11 -07:00
Quaternions 8fe13caa1e find valid instruction 2026-05-16 10:31:28 -07:00
Quaternions 0e522f7154 fix skip count 2026-05-16 10:31:06 -07:00
Quaternions 1cf1db4512 remove upper case matching 2026-05-16 10:09:29 -07:00
Quaternions 2a53f29a9b add exit command 2026-05-16 10:09:15 -07:00
Quaternions 68e891d3b7 minify state & respect InstructionSrc spec 2026-05-16 10:04:32 -07:00
Quaternions d800e9d33e extend instruction to include skip cards 2026-05-16 09:10:43 -07:00
Quaternions 56aaf79ce7 refactor winnable 2026-05-15 16:23:17 -07:00
Quaternions b8624ef9d0 add auto play 2026-05-15 15:24:27 -07:00
Quaternions 10444b0a62 fix iteration order 2026-05-15 15:18:55 -07:00
Quaternions ed8b99bf57 fix tableaus 2026-05-15 14:21:54 -07:00
Quaternions 88f35b9462 fix stock getting reversed 2026-05-15 14:16:42 -07:00
Quaternions 6d414bd02f compute max stack size 2026-05-15 14:09:18 -07:00
Quaternions 23da186729 core 2026-05-15 14:02:31 -07:00
Quaternions bbe4ec6625 implement Stack using ArrayVec 2026-05-15 14:01:50 -07:00
Quaternions 334084e4df stock shorthand 2026-05-15 12:43:18 -07:00
Quaternions 792c9acba3 add new game command 2026-05-15 12:38:40 -07:00
Quaternions a5ca7ff25d fix human numbers 2026-05-15 12:38:35 -07:00
Quaternions 0deee670d9 rename PileIds to use human numbers 2026-05-15 12:24:07 -07:00
Quaternions dcd4308209 use alt unicode for suit color 2026-05-15 12:21:59 -07:00
Quaternions ad9b1bf64d add hint 2026-05-15 12:21:36 -07:00
Quaternions 76101b36be validate moves 2026-05-15 11:28:58 -07:00
Quaternions a1572a3971 allow king to move to empty tableau 2026-05-15 11:03:57 -07:00
Quaternions dd557d2fcf format 2026-05-15 11:03:45 -07:00
Quaternions 7b76e100c9 allow lowercase 2026-05-15 10:57:14 -07:00
Quaternions 24b94e8dfa fix stock flip up and stock recycle 2026-05-15 10:55:58 -07:00
Quaternions 31025964ef try tableau moves first in KlondikeIter 2026-05-15 10:43:07 -07:00
Quaternions a8d9798001 fix bug 2026-05-15 10:36:19 -07:00
Quaternions a2f0a489c1 add undo to cli 2026-05-15 10:35:34 -07:00
Quaternions f1805826bb write cli repl 2026-05-15 10:28:52 -07:00
Quaternions c1ce3aadca test better 2026-05-15 09:43:00 -07:00