Refactor the game flow and support splits

Behaves more like a client/server, rather than just taking a decision
function. The CLI logic is more complex now, but the game is more
flexible and and support splits (basically branching the hand off)
This commit is contained in:
Nick Pegg 2025-07-09 12:30:37 -07:00
parent cb70077f5a
commit 69a4239f90
8 changed files with 820 additions and 334 deletions

View file

@ -4,7 +4,9 @@ version = "0.1.0"
edition = "2024"
[dependencies]
anyhow = "1.0.98"
clap = { version = "4.5.40", features = ["derive"] }
console = "0.16.0"
itertools = "0.14.0"
rand = "0.9.1"
thiserror = "2.0.12"