rewrite progress 2

This commit is contained in:
2025-02-17 11:54:06 -05:00
parent 127c9874da
commit 87f58e5e40
4 changed files with 88 additions and 64 deletions

View File

@@ -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 {