This commit is contained in:
2025-02-12 21:24:35 -05:00
parent 2c241948f7
commit 351953450a
6 changed files with 36 additions and 78 deletions

View File

@@ -60,7 +60,7 @@ impl Game {
// Lets the player try again if the move is invalid
// Now we dont need to restart the game if we mess up
Err(err) => {
println!("Invalid move by Player {}: {}. Try again.", player_i, err);
panic!("Invalid move by Player {}: {}. Try again.", player_i, err);
}
}
} else {