wip stats

This commit is contained in:
2026-05-17 09:20:14 -07:00
parent 5553a7e1a1
commit 03f5e70498
4 changed files with 170 additions and 47 deletions
+2 -2
View File
@@ -241,7 +241,7 @@ fn get_good_move(state: &Klondike) -> Option<KlondikeInstruction> {
}
fn main() -> Result<(), std::io::Error> {
let mut session = Session::new(Klondike::new_random_default());
let mut session = Session::new(Klondike::new_random());
let mut input = String::new();
loop {
// display game
@@ -257,7 +257,7 @@ fn main() -> Result<(), std::io::Error> {
// run game
match instruction {
SessionInstruction::New => session = Session::new(Klondike::new_random_default()),
SessionInstruction::New => session = Session::new(Klondike::new_random()),
SessionInstruction::Undo => session.undo(),
SessionInstruction::Exit => break Ok(()),
SessionInstruction::Hint => {