DESIGN, DEVELOP, TEST AND EVALUATE A PROGRAM THAT:
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.)
DescriptionIn this final assignment, the students will demonstrate their ability to apply two ma
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. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
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
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
Get Free Quote!
272 Experts Online