Commit Graph

3 Commits

Author SHA1 Message Date
Aryadev Chavali
350221cfb0 Fix problem with alexandria:shuffle not being truly random
Due to the way random works, we need to see it on each run of the
binary - thus need to make a new random state.
2025-02-14 23:26:06 +00:00
Aryadev Chavali
bf6cace5c3 Rework read-until-valid-integers to work better for redeal inputs
A player may:
- not redeal any cards
- redeal all their cards

Therefore the indices must be between 0,5 and there can be at most 5
inputs.
2025-02-14 23:24:47 +00:00
Aryadev Chavali
334ece1ee7 Split source code into different modules for cleanliness 2025-02-14 21:46:43 +00:00