I'm having a bit of trouble with this..
public void emptySquare(Location l)
/*
Pre-condition: the given Location value is within
the bounds of the current Grid
object...
Type: Posts; User: mrjavajava
I'm having a bit of trouble with this..
public void emptySquare(Location l)
/*
Pre-condition: the given Location value is within
the bounds of the current Grid
object...
great. you legend
the variables values have to be gotten from are: int r, c and location l. I assume the boolean returns true if there are null in all values of the grid at locations l from the r (row) and c (column)...
I have to fill in the areas where is marked "Complete me!!!" I cant do any of them!! any help would be much appreciated, thanks
import java.awt.*;
public class Grid implements...
thanks for the reply but i am unsure how to implement the code to define the method
/*
Pre-condition: none
Post-condition: true is returned if the game is
over because the grid is empty...
public boolean gameOver()
/*
Pre-condition: none
Post-condition: true is returned if the game is
over because the grid is empty
Informally: return whether or not the game is over...