Details:

  • Two list boxes - one for Player, one for Dealer
  • List box should show cards dealt. Dealers cards should only show on Player hold or bust (over 21)
  • Player Total (text box): Displays total amount of card values.
  • Dealer Total (text box): Displays total amount of card values.
  • Hit me (button): Insert random card, adds to total
  • New hand (button): Clears Player and Dealers totals, reshuffles deck
  • Hold (button): Dealer cards revealed and Dealer cards added until >=17 or <=21.
  • Text box displays "Player wins" or "Dealer wins" or "Push"

"Player wins": Player total > Dealer total And <=21

"Dealer win": Dealer total > Player total And >=17 or <=21

Tie scores: "Push"

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.