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...
Type: Posts; User: huddo
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...
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...
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...
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
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....