System.out.println("You Win!");// Once the player reduces the enemy ships or health (same thing) to zero then they win
System.out.println("You Win!");// Once the player reduces the enemy ships or health (same thing) to zero then they win
...
@@ -114,7 +114,7 @@ enemyTurn();
...
@@ -114,7 +114,7 @@ enemyTurn();
}
}
publicvoidplace(intships,booleanvertical,intxIn,intyIn){// The array in main will make sure the ships placed will be in order of what I put them in the array and in length
publicvoidplace(booleanvertical,intships,intxIn,intyIn){// The array in main will make sure the ships placed will be in order of what I put them in the array and in length