logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Lakshay AggarwalEngineering
(5/5)

773 Answers

Hire Me
expert
Milton BlahaEconomics
(5/5)

577 Answers

Hire Me
expert
Atul KaushikComputer science
(5/5)

722 Answers

Hire Me
expert
Noormehal MohamaadFinance
(5/5)

605 Answers

Hire Me
Visual Studio Programming

Allows two players to enter their details, which are then authenticated to ensure that they are authorized players each player to roll two 6-side dice

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

DESIGN, DEVELOP, TEST AND EVALUATE A PROGRAM THAT:

  1. Allows two players to enter their details, which are then authenticated to ensure that they are authorized players.
  2. Allows each player to roll two 6-side dice.
  3. Calculates and outputs the points for each round and each player's total score.
  4. Allows thte players to play 5 rounds.
  5. If both players have the same score after 5 rounds, allows each player to roll 1 die each until someone wins.
  6. Outputs who has won at the end of the 5 rounds.
  7. Stores the winners score, and their name, in the external file.
  8. Displays the score and player name of the top 5 winning scores form the external file.

RULES:

Katarina is developing a two-player dice game

The players roll two 6-side dice each and get points depending on what they roll.  There are 5 rounds in a game.  In each round, each player rolls the two dice.

The rules are:

* The points rolled on each player's dice are added to their score.

* If the total is an even number, an additional 10 points are added to their score.

* If the total is an odd number, 5 points are subtracted from their score.

* If they roll a double, they get to roll one extra die and get the number of points rolled added to their score.

* The score of a player cannot go below 0 at any point.

* The person with the highest score at the end of the 5 rounds wins.

* If both players have the same score at the end of the 5 rounds.  They each roll 1 die and whoever gets the highest score wins (this repeats until someone wins.)

 

 

 

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme