Just to be clear, this is not homework, I've tried other sites for this and they kick me out because this kinda looks like it. I'm just trying to win a bet with my sanctimonious programmer friend, he didn't think that I could make a card game in Java, but I'm a novice programmer, so I'm asking you guys for help. This is as specific as I can make it, please let me know if there's anything else I need to provide. I also need this rather soon, if it's not too hard to make.
Please create a class called Card that can be used to represent a playing card.
A Card should have a suit (heart, diamond, club, or spade) and a numeric value (lets use ace as 1 up through king as 13).
Create a class called Deck that can be used to represent a deck of 52 playing cards.
The Deck class should have an array of type Card that contains one of each possible card.
The Deck constructor should create a sorted deck of Cards (like you just took it out of the box).
In addition, the Deck class should have a shuffle() method.
You should use whatever approach is easiest to create a well-shuffled deck of cards.
In addition to the shuffle() method, the Deck class should have a drawCard() method that picks a card at random from the deck and somehow marks it so it cannot be redrawn.
Finally, the Deck class should have a removeCard() method that takes a specific card as a parameter and removes it from the Deck (for games that do not use both Jacks etc.)
Thank you!