This program simulates playing of a game of Craps. Our job here was to modify the code to add some chatter to the code so that depending on the outcome of the roll of dice, the player is prompted a different set of randomly generated chatter text to make the game more fun. We have also added wagering to this program, to allow the player to bet on the rolling of dice. Depending on if the player looses or wins, the betting amount is added or subtracted from the total available balance. The game ends when the player looses all of his or her money. The program has also been modified to randomize the outcome of the rolling of dice to make the game more fair. If a player bets more then he or she has in the bank, the program will prompt the player to enter a new betting amount, since there would not be enough money available in his bank to place that bet.

Download | Source Code