Search:

Type: Posts; User: mrjavajava

Search: Search took 0.11 seconds.

  1. Re: Please help with code for a method, much appreciated!!

    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...
  2. Re: Please help with code for a method, much appreciated!!

    great. you legend
  3. Re: Please help with code for a method, much appreciated!!

    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)...
  4. Re: Please help with code for a method, much appreciated!!

    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...
  5. Re: Please help with code for a method, much appreciated!!

    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...
  6. Please help with code for a method, much appreciated!!

    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...
Results 1 to 6 of 6