Friday, 2 May 2014

Go Fish and Giving Card

Okaaay... ignoring the previous error for now, I can now get the computer to give up a card if the player asks for it and that card will now be added to the player's hand. Instead of needing all four numbers I'm going to just make them pairs to make the game shorter.
The checking of pairing will be done in the beginning and a JOptionPane will pop up to tell the user that their pairs have been removed. The message will also pop up during the game when either the player or the computer is able to remove a pair of their cards.

No comments:

Post a Comment