BattleShipGame Explanation
BattleShipGame Explanation
import java.util.Random;
import java.util.Scanner;
BattelShipGame() { this.initGrid(); }
Constructor allowing customization of grid size, ship size, and number of ships.
private void initGrid() {
void printgrid() {