Skip to content

Instantly share code, notes, and snippets.

View qpratttech's full-sized avatar

Quentin Pratt qpratttech

  • Web Development
View GitHub Profile
public class Battleship{
public static void main(String[] args){
boolean[][] battleshipArray = new boolean[][]{
{true,false,true,true},
{true,false,false,true},
{true,true,false,true},
{true,true,true,false}
};