Browse Source

update

main
fdai4581 2 years ago
parent
commit
511bfc72f4
  1. 8
      src/main/java/BattleShip/GridGUI.java

8
src/main/java/BattleShip/GridGUI.java

@ -109,7 +109,15 @@ public class GridGUI {
gameOver = false;
}
}
if(gameOver) {
text = "You win! You took " + numOfGuesses + " guesses.";
endGame = true;
}
clicked = true;
}
}
}
}
Loading…
Cancel
Save