feat: Started working on game dialogs

This commit is contained in:
2025-01-03 21:48:59 +01:00
parent fdce5f2a62
commit fc432caa58
7 changed files with 27 additions and 12 deletions

View File

@ -111,7 +111,7 @@ public class TicTacToe {
return askForMove(board);
}
if (!board[move].equals("_")) {
if (!board[move - 1].equals("_")) {
Cli.error("Toto pole již bylo obsazeno!");
return askForMove(board);
}