I may not need a do while loop, but when I made my battleship game in Java, I could only get it working properly with a do while loop. Had to do with making sure the ships don't overlap each other