Home‎ > ‎Assignments‎ > ‎

Playing Card

Use classes to simulate a deck of playing cards.  Use main() simply to test the classes: create the deck, print the cards, then shuffle the deck so the cards are in random order, and print again.  These class definitions can be used in card games like Solitaire, Freecell, Poker, and Blackjack.

Comments