Allow the user to select the player and the machine

Assignment Help Computer Engineering
Reference no: EM132210403

Write a program in Java

A test Class that hold main

A slot machine Class(machineName, MachineBalance, noJackPotsPaid, jackpotOdds, jackpotPayAmount, noRegularWinsPaid, regularWinOdds, regularPayout... plus whatever fileds you add)

A player Class(name,DOB,moneyBalance)

A Name Class (first name,middle initial,lastName,suffix)

A date Class (month,day,year)

You are to create a slot machine:

A. Luckky 777 , with a starting balance of 5,000, jackpotOdds 1 in 10,000,jackpotPayout 5,000, regular payout odds 1 in 10, regularPayout $5.00

you are to create 50 other slot machine players

The cost to play any machine is 1.00

You will need a menu system.

When the user goes to play a slot machine, you will allow the user to select the player and the machine.

During each play you will show the players beggining balance and ending balace.

You will display if they won, the win amount and the words JACKPOT if they hit the jackpot.

Reference no: EM132210403

Questions Cloud

Write a program that outputs inflation rates for two years : Write a program that outputs inflation rates for two successive years and whether the inflation is increasing or decreasing.
What is the regulatory response thus far regarding bitcoin : What is the regulatory response thus far regarding bitcoin? How should Brown factor in potential regulation into his investment thesis?
Write a program in java that takes in as input a string : You are to write a program in Java that takes in as input a string message and an integer.
What devices does the composer use to build layers : There are one short videos, and answer some simple questions. Do not need to write too much details for each questions, just use simple and easy words as you.
Allow the user to select the player and the machine : When the user goes to play a slot machine, you will allow the user to select the player and the machine.
A program for leibniz formula for calculating the value : In PYTHON Divide your program into two modules -one which contains your class and another which demonstrates the class methods.
Write a program in java using swing that contains a slider : Write a program in Java using swing that contains a slider and has a car. The size of the car should increase or decrease as the slider is moved.
Write a program with a leaf subprogram that will take values : Write a program with a leaf subprogram that will take two values in $a0 and $a1 and compute their greatest common divisor.
Do the temperature correction on a mercury barometer : Write a program in MATLAB to do the temperature correction on a mercury barometer reading (see problem 1.70).

Reviews

Write a Review

Computer Engineering Questions & Answers

  Calculate the private and public key

Using RSA, calculate the private and public key for the following values of p and q. P = 19 and q = 23.

  Write a method totaldays that takes three integer

Write a method "totalDays" that takes three integer arguments (number of weeks, number of days, number of hours).

  Write an abstract class called staff member

Write an abstract class called Staff Member that has two protected String fields called name and phone, and it also has a two argument constructor.

  Create a work breakdown structure code for each given task

Create a Work Breakdown Structure Code for each task. Determine an overall project duration and duration estimates for each of the tasks. The duration is not to exceed 90 days.

  Create class saving account use a shared class variable to

create class savingaccount. use a shared class variable to store the annualinterestrate for all savingsaccounts. each

  Write a program to solve linear system

Consider the matrix A in its LU decomposed form denoted by Alu. Given a matrix Alu and a vector b as an input: write a program to solve linear system Ax = b. You have to solve using Lg=b and Ux=g euations.

  Conduct a project that fall in computing and it curriculum

Choose to conduct a project that is technical (i.e. practically based e.g. development of a prototype, simulation, design framework etc) that fall with in computing and IT curriculum.

  Create and development phases of software development

consider efforts that can be done at design and development phases of software development which pay dividends later in software maintenance, that is, improve the ability to maintain.

  Create developers own machines yet not have direct access

Describe the steps you should take so that developers can create and manage their own machines yet not have direct access to the Hyper-V hosts.

  Can a relation be stored as a sequential file

Can a relation be stored as a sequential file

  What is the rest balance at the end of one year

A student borrows 3,000 at an interest rate of 2 % per month on the unpaid balance. If the student pays $200 at the end of each month, what will be the remaining balance at the end of one year.

  What are the samples runtime dependencies

CTEC5807 Malware Analysis - De montfort university - Perform a basic static analysis of the sample and document your findings. Is it packed

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd