This commit is contained in:
2025-01-28 15:05:32 -05:00
parent 565f638b1b
commit 9f6be9b669
8 changed files with 317 additions and 29 deletions

View File

@@ -37,7 +37,7 @@ impl Game {
todo!("handle invalid player move");
}
} else {
todo!("handle player not having a move to make");
panic!("player {} did not make a move", player_i);
}
}
@@ -53,7 +53,7 @@ impl Game {
println!("{}", self);
std::thread::sleep(Duration::from_millis(500));
std::thread::sleep(Duration::from_millis(100));
}
}
}