Homework Help using Visual Studios if possible Please contact me to talk about it

Job ID: 33451892

Budget: $50 – $0 USD

Instructions:


Note - Do not use the following items in your code: goto, foreach loops, Linq commands, C# Properties, or Generics/Tempaltes. If you want to use anything not taught in the course lectures contact your instructor first and check if they’ll allow that item.



View the example video to see how your program should run (Doesn’t have to be exactly the same but should be similar). See example video
Download the supplied starter project: See download link
Extract the project from the zip file to a location on your hard drive. (I recommend a location like Documents/FullSail/DES1/Assignments).
Do not use generic types or LINQ commands - the point of this assignment is to show that you understand arrays and how to use data stored in them.
Deck class:
Create constructors
Default:
Parameters
None
Overloaded constructor:
Parameters
Int: this value represents the desired number of cards in the deck and should be used to initialize the deck’s array of PlayingCards to hold that number of cards.
Create public methods
static void FillDeckWithPlayingCards
Parameters
Deck: this is the deck object that is to be filled with cards
Function
If the deck passed in cannot hold 52 cards - initialize the array to hold 52 cards.
fill the deck with each card ace-king for each suit (hearts, clubs …)
void DisplayDeck
Parameters
Int: required parameter that specifies how many cards draw in a row before starting a new row
Int: optional parameter that specifies a x position on the screen to start drawing cards at
Int: optional parameter that specifies a y position on the screen to start drawing cards at
Function
Draw ever card in the deck 1 at a time going across the screen in rows. Drop down to a make a new row after x cards where x is the number passed in as the first parameter
void AddCard
Parameters
PlayingCard: card that should be added into the deck
Function
if the deck isn’t full then add the passed in card on top as the next card to be drawn.
void Shuffle
Parameters
None
Function
This method will randomize the position of all of the cards in the deck
PlayingCard DrawCard
Parameters
None
Function
This method will remove the top card from the deck and return that card assuming the deck isn’t empty
void CutDeck
Parameters
Int: optional parameter that specifies where to cut the deck (number of cards to take off of the top of the deck). Should default to a value of -1.
Function
If the parameter is a positive value then cut that many cards off the top of the deck.
if the parameter is negative then cut a random number of cards off the top of the deck
must handle players trying to cut more cards than are in the deck.
Program:
Create a menu in main that will allow the player to test the following deck options. (This menu should run in a loop until the player chooses to quit)
Fill the deck with playing cards
Shuffle the cards in the deck
Cut a random number of cards from the top of the deck
Cut a number of cards from the top of the deck specified by the player (required input from the player)
Display all of the cards in the deck
Quit
quit by selecting the menu options (the number)
quit by typing “quit”
quit by typing “exit”
The player should not be able to crash the program with invalid input

Submission:


Navigate to the folder that contains your .cs files
Control + click on each of the .cs files (not .csproj)
Right click on one of the files and select -> Send to -> Compressed zip
Name the package LastName_FirstName_DeckAndMenu.zip
Upload the package to FSO

End Example : https://www.youtube.com/watch?v=WATSmTm8sQw
Related categories: C++ Programming Coding Visual Studio