This readme contains instructions for setting up the code for the interview. It also contains the first question.
Completing this problem before your scheduled interview is optional.
The card_game directory contains starter code for your upcoming coding interview.
Prior to your interview, please take some time to ensure you can edit the files and execute the program.py file.
During the coding interview you will edit the attached solution files in an IDE while sharing your screen.
You can use any IDE or code editor you prefer! Some recommendations are PyCharm or VSCode.
If you are unable to use an IDE during the interview, please reach out to the recruiter to discuss options. Your interviewers should be able to accommodate a browser-based option using https://vscode.dev. Using vscode.dev requires signing in with either a GitHub or Microsoft account.
You have been given an object model for a standard deck of 52 playing cards. (Follow links for more explanation of these terms, if you're not familiar with a deck of cards.)
The classes in the object model are:
Deck: A collection of 52cards- 52
Cards: The value of each card is the combinedrankandsuit - 13
Ranks: Numbers 2-10, Jack, Queen, King, and Ace - 4
Suits: Spades, Hearts, Diamonds, and Clubs - no jokers
A new deck always has the same order for the cards.
The code in program.py deals all the cards and displays the value (rank & suit) of each.
Requirement: The deck of cards needs to be shuffled a given number of times.
After shuffling, deal all the cards and display the value (rank & suit) of each.
