rewrite progress 2
This commit is contained in:
@@ -60,7 +60,10 @@ 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) => {
|
||||
panic!("Invalid move by Player {}: {}. Try again.", player_i, err);
|
||||
panic!(
|
||||
"Invalid move by Player {}: {}. Try again. Move: ({}, {})",
|
||||
player_i, err, i, j
|
||||
);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user