Question: Please try to do it little quicker. Objective The objective of this lab is to create the beginnings for a python-based card game. We DO
Objective The objective of this lab is to create the beginnings for a python-based card game. We DO NOT expect a fully functioning card game. What we do expect is that you create a main function and various functions that will accomplish the following goals: . Build a single-dimension array to keep track of the location of every card . DO NOT move cards around...Just use the array to keep track of where each card is All card data is really integers- Use other arrays to translate integers to suits, ranks, and player names . All cards will start in the DECK Write a function that translates a card number to a card name. HINT look at the suitName and rankName arrays Write a function to assign a card to a given player . Dealing a card involves picking a card number and assigning a new location to the corresponding element . Write a function that displays the location of every card. (Early versions should show numeric values for t Write a function that prints the name of every card in a given hand of cardLoc the card number and location. Later versions can include string values for prettier output.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
