/* * Stores the board for one player's game */ public interface Board { //you need to create a class named BattleShipBoard that implements //this interface //you can design any structure there you would like to store the board //how are you going to store hits/misses/not attempt/ships. /** * This is the one method you must implement * It should return a -1 if the spot has been tried and there * is no ship, a 0 if the spot has not been tried and * a 1 if the spot has been tried and there is a ship. * * r and c are the row and column of the location */ public int getTries(int r, int c); /** * records the given move on the board, return true if a ship was hit */ public boolean recordMove(Move m); }