C++ programming code: Casino game of craps

IN PROGRESS
Bids
5
Avg Bid (USD)
$5
Project Budget (USD)
$5 - $10

Project Description:
Write a C++ program that simulates the casino game of craps. These are the rules of the game:

* If a player throws a 7 or 11 (sum of two dice) on the first roll, the player wins the game.
* If a player throws a 2, 3 or 12 (sum of two dice) on the first roll, the player loses the game.
* If a player throws a 4, 5, 6, 8 or 10 (sum of two dice) on the first roll, s(he) neither wins nor loses but creates a "point." If this is the case, the player keeps rolling the dice until the point (4, 5, 6, 8 or 10) is thrown again, and the player wins the game. However, if the player throws a 7 (sum of two dice) before the "point" is thrown, the player loses the game.

These are the specifications for the program:

Your program will incorporate a void function that will output a banner to the screen each time the a.out is invoked. You will create a function called rollDice that will, when called, roll two dice and return a random number between 2 and 12. Each time rollDiceYou rolled 5 is called, the program should output the result of the roll. Example:The program will ask the player " Another game? Y(es) or N(o)?" and terminate whenever any key other than Y or y is pressed.

Skills required:
C Programming, Software Architecture
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


Hire maciejpl
$ 4
in 3 days
Hire oxygenSoftware02
$ 7
in 3 days
Hire Rashad28
$ 4
in 3 days
Hire sintu
$ 2
in 3 days
Hire danrt
$ 7
in 3 days