Commit Graph

133 Commits

Author SHA1 Message Date
Quaternions 1de633adb3 implement solver 2026-05-29 14:21:18 -07:00
Quaternions 50cf2f3750 klondike v0.2.0 improved scoring + config 2026-05-29 13:24:41 -07:00
Quaternions 0f12e8dbd2 fix doc 2026-05-29 13:23:40 -07:00
Quaternions 31e7cdbc6f card_game v0.3.0 improved scoring + config 2026-05-29 13:23:15 -07:00
Quaternions 64a94c6072 Implement improved scoring (#13)
Closes #10

Reviewed-on: #13
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2026-05-29 20:18:57 +00:00
Quaternions c9c341e926 Add MoveFromFoundationConfig option to KlondikeConfig (#12)
Closes #11

Reviewed-on: #12
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2026-05-29 18:59:26 +00:00
Quaternions 035875c893 display game vertically 2026-05-27 22:39:50 -07:00
Quaternions 5ab1b8bac7 stock face down does not matter for trivial win 2026-05-26 22:39:46 -07:00
Quaternions a80f2ae3c9 tableau_face_down_cards tableau_face_up_cards functions 2026-05-26 22:34:14 -07:00
Quaternions 555daf5ec3 use custom arrayvec 2026-05-24 10:36:15 -07:00
Quaternions 555e7ef11c update readme 2026-05-19 16:46:32 -07:00
Quaternions f49721e415 no repr 2026-05-19 07:42:34 -07:00
Quaternions 90f8fe2e77 1000 games 2026-05-18 16:45:49 -07:00
Quaternions 7f708df327 stats histogram 2026-05-18 16:43:45 -07:00
Quaternions 6bfa05c292 add benchmark 2026-05-18 15:57:53 -07:00
Quaternions da0dfe98c4 update readme 2026-05-18 15:51:17 -07:00
Quaternions b840d56725 use workspace lints 2026-05-18 15:43:32 -07:00
Quaternions 37837e76c1 use get_auto_move in readme 2026-05-18 14:04:58 -07:00
Quaternions e6113b6e91 tweak doc 2026-05-18 13:57:47 -07:00
Quaternions 5cb5cb9a50 tweak doc 2026-05-18 13:43:39 -07:00
Quaternions 446cd87665 update readme 2026-05-18 13:34:03 -07:00
Quaternions a9b93f3807 update readme 2026-05-18 13:29:59 -07:00
Quaternions 13bc36ce0c tweak with_rng signature to allow Rng reuse 2026-05-18 13:28:40 -07:00
Quaternions 07c3dc6667 fix doc 2026-05-18 13:26:08 -07:00
Quaternions 835a4dcc5f fix registry 2026-05-18 13:15:11 -07:00
Quaternions ec25f11ca5 card_game v0.2.0 2026-05-18 13:12:19 -07:00
Quaternions f8dd9e008c workspace dependencies 2026-05-18 13:12:03 -07:00
Quaternions 90d46902ea move auto moves into klondike 2026-05-18 13:08:15 -07:00
Quaternions fd6b2a23ea add is_win_trivial 2026-05-18 13:00:15 -07:00
Quaternions e9bb9660a8 fix is_win 2026-05-18 12:56:37 -07:00
Quaternions 5a52f2ab7a temporarily remove is_winnable because it doesn't work 2026-05-18 12:53:27 -07:00
Quaternions e014c3496d fix readme 2026-05-18 12:51:39 -07:00
Quaternions 2463e1a8f6 move test 2026-05-18 12:50:19 -07:00
Quaternions 2b305227c9 add readme 2026-05-18 12:47:16 -07:00
Quaternions 3b3ffc66eb add license 2026-05-18 12:44:12 -07:00
Quaternions 3520f348b0 add doctest 2026-05-18 12:44:07 -07:00
Quaternions 291d304ac7 seed from cli argument 2026-05-18 12:41:12 -07:00
Quaternions a28a965d12 seed_from_u64 (#7)
Closes #5

Reviewed-on: #7
Co-authored-by: Rhys Lloyd <krakow20@gmail.com>
Co-committed-by: Rhys Lloyd <krakow20@gmail.com>
2026-05-18 19:17:11 +00:00
Quaternions 25760d19a1 allow negative score 2026-05-18 12:04:40 -07:00
Quaternions fef4fe4d55 implement score 2026-05-18 12:03:10 -07:00
Quaternions fc62da992e pub DrawStockConfig 2026-05-18 11:53:44 -07:00
Quaternions 7cbbf80a03 fix clippy lint 2026-05-18 11:46:04 -07:00
Quaternions a4546ba03c silence clippy default lint 2026-05-18 11:45:12 -07:00
Quaternions 85132d3c59 kiki doesn't make sense 2026-05-18 11:36:15 -07:00
Quaternions e5c26e35fd add suit from u8 2026-05-18 11:26:39 -07:00
Quaternions 521c2afcda fix deck 2026-05-18 11:26:32 -07:00
Quaternions 787c16a9dc add wacky lints 2026-05-18 11:11:56 -07:00
Quaternions 9599b7a50c const 2026-05-18 11:11:56 -07:00
Quaternions 0dfd51e25b cannot support more than 4 decks with range packing because 255 < 52 * 5 2026-05-18 11:06:47 -07:00
Quaternions 5f81f28160 refactor CardValue into Rank enum 2026-05-18 11:01:48 -07:00