- Construct a class for a
Deck
of cards, which has an attributecards
consisting of an array of 52Card
objects. - A
Card
consists of arank
("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", "J", "Q", "K") paired with asuit
("Hearts", "Clubs", "Diamonds", "Spades") - Your
Deck
should have a method#choose_card
which selects a random card from the deck and removes it.
evansst / mod-1-whiteboard-challenge-deck-of-cards-den01-seng-ft-062220 Goto Github PK
View Code? Open in Web Editor NEWThis project forked from learn-co-students/mod-1-whiteboard-challenge-deck-of-cards-den01-seng-ft-062220