Search:

Type: Posts; User: huddo

Search: Search took 0.10 seconds.

  1. Thread: class function

    by huddo
    Replies
    9
    Views
    1,610

    Re: class function

    that code works out the number of squares the player can have. I could use a JOptionPane but I'm trying to make it so that it is easy for the user to use and they can't screw up by putting in a...
  2. Thread: class function

    by huddo
    Replies
    9
    Views
    1,610

    Re: class function

    basically this is what my program does

    -gets the number of players and the game type they want to play with -multiplayer, beat the clock and a high score mode
    -depending on the number of players...
  3. Thread: class function

    by huddo
    Replies
    9
    Views
    1,610

    Re: class function

    sorry i hadn't finished writing the whole function before i put it up. But basically i'm making a memory game for school, so choose two cards and see if they match. i've made it so that the board...
  4. Thread: class function

    by huddo
    Replies
    9
    Views
    1,610

    Re: class function

    thanks for your help. i've ended up doing this inside the Tuple class



    static public Tuple compare(Tuple[] t) {
    return new Tuple(1,1);
    }
    which can be called like so
  5. Thread: class function

    by huddo
    Replies
    9
    Views
    1,610

    class function

    hi

    i have created a class called Tuple that simply has two variables in it that are defined when the class is created. what i want to do now is add a function to the class that is called compare....
Results 1 to 5 of 5