Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void startGame() {
- gameGrid = new BattleshipGrid();
- if (playerName == null) {
- System.out.println("Enter your name: ");
- playeName = sc.nextLine();
- }
- }
- public Position shoot() {
- char row = ' ';
- int col = -1
- boolean notValid = false;
- while ()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement