Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program Specifications: You are to DESIGN and WRITE Uncle Charlie goes to Vegas program. The new program has completely different rules and guidelines than the

Program Specifications:

You are to DESIGN and WRITE Uncle Charlie goes to Vegas program. The new program has completely different rules and guidelines than the Vera Goes to Vegas Assignment. This program will have multiple classes. The program will contain a SlotMachine, Player, Name, Date, TestClass, and possibly other classes.

A SlotMachine will have storage locations for name of slot, current slot balance, number of jack pots that have been paid out, how much the jackpot pays, the number of regular wins, the regular win payout, plus any other fields you consider necessary.

The Player will have a Name, dob, and moneyBalance.

The Name class will include first, middle initial, and last name.

The Date class will include month, day, and year.

You can have additional fields should you find it necessary.

The program will validate the date. The first name and last name and middle initial of a name will be in sentence case.

It will cost a play 1 dollar to play any slot machine. You will create Uncle Charlie and allow the user to create up to another 50 players.

Standard rules, no money, no playing. You will create some type of menu system. Besides creating players and machines, the program will allow slot play.

Slot Play:

The player is selected from the list of current players.

If the player has at least one dollar

The user will select the slot machine from the list of slot machines.

After one play the same player can play the same machine again.

You will show the current players balance during the play.

You will show the result of the play.

Return to main menu.

You program will create at least three different slot machines, but you will allow the user to create another 47 machines if the user wants:

Lucky 7, hopper has 5,000 dollars, jackpot happened once every 10,000 plays, the jackpot pays 5,000 dollars, the regular payout happens once every 10 plays. The regular payout is 5 dollars.

Lucky Lotto, hopper has 55,000 dollars, jackpot happened once every 100,000 plays, the jackpot pays 75,000 dollars, the regular payout happens once every 50 plays. The regular payout is 25 dollars.

Purple People Eater, hopper has 1,000 dollars, jackpot happened once every 50 plays, the jackpot pays 40 dollars, the regular payout happens once every 5 plays. The regular payout is 2 dollars.

I was looking for someone to write a UML and create a design tool (chart) for this. NO CODE NEEDED! Just a UML and design tool to get started. Thank you.

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_2

Step: 3

blur-text-image_3

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

Students also viewed these Databases questions

Question

What is polarization? Describe it with examples.

Answered: 1 week ago