Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lab 9 : Blackjack Due Tuesday by 1 1 : 5 9 pm Points 1 0 0 Submitting a file upload Available after Jul 2

Lab 9: Blackjack
Due Tuesday by 11:59pm
Points 100
Submitting a file upload
Available after Jul 2 at 12:30 pm
Lab 9
Blackjack
Assignment: Create a Blackjack (21) game. Your version of the game will imagine only a SINGLE suit of cards, so 13 unique cards, {2,3,4,5,6,7,8,9,10,J,Q,K,A}. Upon starting, you will be given two cards from the set, nonrepeating. Your program MUST then tell you the odds of receiving a beneficial card (that would put your value at 21 or less), and the odds of receiving a detrimental card (that would put your value over 21). Recall that the J,Q. and K cards are worth '10' points, the A card can be worth either '1' or '11' points, and the other cards are worth their numerical values.
FOR YOUR ASSIGNMENT: Provide two screenshots, one in which the game suggests it's a good idea to get an extra card and the result, and one in which the game suggests it's a bad idea to get an extra card, and the result of taking that extra card.
(100 pts total: 50 points for code, 50 points for screenshots.)
image text in transcribed

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

=+a) What is the explanatory variable?

Answered: 1 week ago

Question

Consider some type of redress for the customer, such as a coupon.

Answered: 1 week ago

Question

Sell the quality of your brand or products.

Answered: 1 week ago