Code
Random Randomizer = new Random () ;
cardoneA = suits[Randomizer.nextInt(suits.length)];
cardoneAv = ranks[Randomizer.nextInt(ranks.length)];
How can I stop the Randomizer from picking the same cards twice? Eg. If it picks a certain suit and rank, how can I stop it from picking it again? Also, how can I make it pick those two together, so that it can pick another card of the same value, as long as its a different class?