wip stats
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user