Bester is a dice game where players try to play the odds against each other. Each...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Bester is a dice game where players try to play the odds against each other. Each player rolls five die for up to five rolls. The total value of all die is calculated for each roll. Each player attempts to beat the total value of the previous players. The winner is the one with the highest total after five attempts. A. Using Object Oriented Programming Practices, create a Bester game using the IDE and programming language your instructor has chosen for this course. Here are some requirements: a. Create a new Project in Netbeans. Use the following naming convention for the project: lastname_Bester. Example: smith_Bester b. The app must have at least four classes. Correctly apply names to the classes, and files. c. Make a sound to get the user attention then display introduction and directions on what user is to do. d. The app should remain open to allow users to play as many games as they would like. e. App should incorporate ascii art f. There must be five different die that are rolled for each player and computer turn The individual values for each die should be displayed after rolling. g. The computer will always roll first. When the computer has finished their roll the player will then be prompted to roll. h. Have the player press a key to roll. Example: Press R to roll. i. Rolls alternate between player and computer until each has had the opportunity to roll five times. j. After each roll for the player or the computer, the total value for the roll must be totaled and displayed. k. Store the 5 die scores for the player in an array. This would ideally be stored in a 2 dimensional array:. (5 die, 5 rolls). 1. Store the 5 die scores for the computer in an array. m. The number of rounds must be monitored. n. There can be no more than five possible rolls for either player or computer. o. An audible alert for the player and the computer must be used to help distinguish between who rolls. The total value for both the player and the computer must be displayed at all times. P. The winner must be declared after both computer and player have had five chances to complete. q. The player must always be able to quit the game at any time. Bester is a dice game where players try to play the odds against each other. Each player rolls five die for up to five rolls. The total value of all die is calculated for each roll. Each player attempts to beat the total value of the previous players. The winner is the one with the highest total after five attempts. A. Using Object Oriented Programming Practices, create a Bester game using the IDE and programming language your instructor has chosen for this course. Here are some requirements: a. Create a new Project in Netbeans. Use the following naming convention for the project: lastname_Bester. Example: smith_Bester b. The app must have at least four classes. Correctly apply names to the classes, and files. c. Make a sound to get the user attention then display introduction and directions on what user is to do. d. The app should remain open to allow users to play as many games as they would like. e. App should incorporate ascii art f. There must be five different die that are rolled for each player and computer turn The individual values for each die should be displayed after rolling. g. The computer will always roll first. When the computer has finished their roll the player will then be prompted to roll. h. Have the player press a key to roll. Example: Press R to roll. i. Rolls alternate between player and computer until each has had the opportunity to roll five times. j. After each roll for the player or the computer, the total value for the roll must be totaled and displayed. k. Store the 5 die scores for the player in an array. This would ideally be stored in a 2 dimensional array:. (5 die, 5 rolls). 1. Store the 5 die scores for the computer in an array. m. The number of rounds must be monitored. n. There can be no more than five possible rolls for either player or computer. o. An audible alert for the player and the computer must be used to help distinguish between who rolls. The total value for both the player and the computer must be displayed at all times. P. The winner must be declared after both computer and player have had five chances to complete. q. The player must always be able to quit the game at any time.
Expert Answer:
Answer rating: 100% (QA)
Creating a Bester game with the specified requirements involves several steps and the use of ObjectOriented Programming practices Below is a simplified outline of how you can structure your classes an... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
L . C . Body Boards Inc. Budgeting Project As the head accountant for L . C . Body Boards Inc., you are responsible for preparing the company s master budget for the first quarter of 2 0 XX . The...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
In this project, we will write a program that controls a quiz show, much like the many popular TV shows. The program will read in a group of questions and their multiple choice answers, storing them...
-
In Problems 1968, solve each equation, if possible. -4 x + 4 || -3 x+6
-
The financial statements of The Hershey Company appear in Appendix B, following the financial statements for Tootsie Roll in Appendix A. Instructions (a) Based on the information in the financial...
-
The frequency of the strong red line in the spectrum of potassium is 3.91 1014/s. What is the wavelength of this light in nanometers?
-
A railroad car that is \(20 \mathrm{~m}\) long when at rest passes Rachael, who is standing on the ground. She records that it takes \(120 \mathrm{~ns}\) to go by. How fast is the car moving, as a...
-
Each of the following pairs represents the number of licensed drivers (X) and the number of cars (Y) for seven houses in my neighborhood: DRIVERS ( X ) CARS ( Y ) 5.............. 4 5.............. 3...
-
Perform a horizontal analysis on the data below blozabad to zo sens 000.2 2024 % D2023 Sales 2,520 1,440 Cost of Goods Sold 1,890 960 Gross Profit 630 480 (exham e) sy add Other Expenses 510 430 Net...
-
Pathfinder College is a small liberal arts college that wants to improve its admissions process. In particular, too many of its incoming freshmen have failed to graduate for a variety of reasons,...
-
You are finishing up your first year of work in the real world. Budgeting is becoming second nature. You've budgeted for regular maintenance for your vehicle. You've chosen to have your oil changed...
-
According to guest speaker Melissa Silber, financial ratios, more specifically your debt to equity ratio on your balance sheet, is important to know for the purposes of getting potential funding from...
-
You own 40 convertible 2% coupon bonds that you bought 5 years ago for $985 per bond. The conversion price is $200 per share. The shares used to trade at $150 per share but today trade at $300 per...
-
5- Capital Asset Management: A city has recently acquired a new public park. Describe the steps and considerations in accounting for the acquisition, maintenance, and depreciation of this capital...
-
You will examine the use of public/private partnerships (PPPs) in aiding an organization with a problem. Furthermore, you will argue either for or against using a PPP to address the problem.
-
Read one of the selected news articles to be posted, and wr-ite a brief reflection on the topics discussed. This should not merely be a summary. You should summarize briefly and then ask further...
-
5. [-/1 Points] DETAILS LARPCALC115.5.547.XP. Fall in the blank to complete the trigonometric formula sin cos Need Help? 6. [-/1 Points] DETAILS Fill in the blank to complete the trigonometric...
-
In order to get an idea on current buying trends, a real estate agent collects data on 10 recent house sales in the area. Specifically, she notes the number of bedrooms in each house as follows: a....
-
Create an interface called Runner. The interface has an abstract method called run() that displays a message describing the meaning of run to the class. Create classes called Machine, Athlete, and...
-
A method variable _____________ a class variable with the same name. a. Acquiesces to b. Destroys c. Overrides d. Alters
-
What does the following program segment output? for(f = 0; f < 3; ++f) for(g = 0; g < 2; ++g) System.out.print(f + " " + g + " "); a. 0 0 0 1 1 0 1 1 2 0 2 1 b. 0 1 0 2 0 3 1 1 1 2 1 3 c. 0 1 0 2 1 1...
-
Obtain a copy of the ACAS Code of Practice 1: Disciplinary and Grievance Procedures (2009). Use this, and our suggestions in this chapter, to rewrite or modify either of the procedures you used for...
-
One of the disadvantages of the IEEET1 exciter is following a fault the terminal voltage does not necessarily return to its prefault value. Using PowerWorld Simulator case Problem 12_3 determine the...
-
Rework Example 13.6 if the source impedance at the sending end of line \(\mathrm{A}\) is \(\mathrm{Z}_{\mathrm{G}}=\mathrm{Z}_{\mathrm{A}} / 4=100 \Omega\), and the receiving end of line...
Study smarter with the SolutionInn App