Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using visual studio and the C# language Develop a simplified Blackjack game. Create a deck of 51 cards, 17 each of threes, sevens, and tens.

Using visual studio and the C# language

Develop a simplified Blackjack game. Create a deck of 51 cards, 17 each of threes, sevens, and tens. Deal two cards face down to the player and two cards to the computer, one face up and one face down. Allow the user to turn over the players card by clicking on them. The user will hit the H key to get another card and the S key to stop drawing cards. The player loses if his total is greater than 21. If not the dealer draws cards until the dealers total is greater than 16. The dealer loses if her total is over 21. Otherwise the one with the greater score wins.

Hint: You may assume each person can draw up to 5 cards. Create an array 2 by 5 to hold 10 rectangles.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

What Is A Database And How Do I Use It

Authors: Matt Anniss

1st Edition

1622750799, 978-1622750795

More Books

Students also viewed these Databases questions

Question

How are members held accountable for serving in the assigned roles?

Answered: 1 week ago

Question

Have roles been defined and assigned?

Answered: 1 week ago