###### Visual Studio Programming

(5/5)

### 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:

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

##### Introgramming & Unix Fall 2018, CRN 44882, Oakland University Homework Assignment 6 - Using Arrays and Functions in C

DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma

##### The standard path finding involves finding the (shortest) path from an origin to a destination, typically on a map. This is an

Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t

##### 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. The LineItem class will represent an individual

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

##### SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1
Project 1
Introduction - the SeaPort Project series
For this set of projects for the course, we wish to simulate some of the aspects of a number of

##### Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of Sea Ports. Here are the classes and their instance variables we wish to define:

1
Project 2
Introduction - the SeaPort Project series
For this set of projects for the course, we wish to simulate some of the aspects of a number of