Modify the Card Shuffling and Dealing Simulation (reference chapter 9 - Case Stu
ID: 3795634 • Letter: M
Question
Modify the Card Shuffling and Dealing Simulation (reference chapter 9 - Case Study 9.5) to present the user with a video poker hand (5 card). You may wish to change the main screen graphic to something of your own design. For the cards, each card can be any available from a standard deck of cards. Once a card is used, it cannot be used again in that hand (example: you draw the Jack of Hearts; you cannot draw that same card again). When all 5 cards are shown on screen, allow the user to discard and draw new cards once (up to all 5 cards at a time, but only allow them to change the cards once). Inform the user of their result in a dialog box (example: 3 of a kind or 2 pairs, etc.). After the user clears the result, allow the user to draw a hand again or exit the program. All programs should have basic menu options that allow the user to exit the program and perform tasks you deem necessary for the program to function correctly. After creating the program, be sure to debug and test your code.
Using the programming assignments from Module Two i.e. week II - convert the Visual Basic projects to Visual C#. All programs should have basic menu options that allow the user to exit the program and perform tasks you deem necessary for the program to function correctly.
After creating the program, be sure to debug and test your code.
While you are working on the project, maintain a Word-readable document (.docx, .doc, .rtf, or .txt) that lists the tasks you experience problems with. Are there any tasks that cannot translate directly from one language to another? How did you handle those to accomplish the technique in the other language?
Explanation / Answer
clearButton_Click sub module and replace that module with following code
And we are good as far as payment is concerned
Private Sub clearButton_Click(sender As Object, e As EventArgs) Handles clearButton.Click
clearButton.Enabled = False
dealButton_Click(sender, e)
deck.Reset()
End Sub
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.