Homework 4 Accessib Homework 4 Create a casino. Write a program that lets a user play a number guessing game, craps or roulette (extra credit). Start your user with $500 in their wallet and let them play until they are busted (out of money) or they choose to quit. The rules for the number guessing game and craps have been established in prio assignment, and you should define your solutions to those problems as separate functions (ie, playNumberGuess(), playCraps(), playRoulette()). All three functions should accept a bet as an input parameter and should return the payout. Payouts Quadruple Money (3:1) Triple Money (2:1) Double Money (1:1) Number Guess First Guess Second Guess Third Guess Craps Win First 12, Second 12, Third 12, Even, Odd, Red, Black, Roulette Column 1 Column 2 Column 3 High, Low Hint A Casino' is really just a large menu of games a user can play. They should be allowed to play those games as long as they wish or have enough money to continue playing. The functions you write should return an integer value (negative if the player loses) representing the player's earnings from the game. These earnings will need to be added (or subtracted) from their total. Extra Credit: Roulette Instructions Add a Roulette game to your casino. In roulette, there is only one interaction between the player and the dealer: the player will place a bet and the dealer will drop the ball on a spinning wheel, in effect, roulette is a sophisticated guessing game where the player is simply trying to guess where the ball will land. Though there are more betting options at an actual roulette table, your application will accept 'outside bets' of Even, Odd, Red, Black, High, Low, Dozens (First, Second, Third), and Columns (1.2.3) The car rann hat nnnnel Once therer deridet where in nlace their het Henn the hall and renart DLL Homework 4 Accessib Homework 4 Create a casino. Write a program that lets a user play a number guessing game, craps or roulette (extra credit). Start your user with $500 in their wallet and let them play until they are busted (out of money) or they choose to quit. The rules for the number guessing game and craps have been established in prio assignment, and you should define your solutions to those problems as separate functions (ie, playNumberGuess(), playCraps(), playRoulette()). All three functions should accept a bet as an input parameter and should return the payout. Payouts Quadruple Money (3:1) Triple Money (2:1) Double Money (1:1) Number Guess First Guess Second Guess Third Guess Craps Win First 12, Second 12, Third 12, Even, Odd, Red, Black, Roulette Column 1 Column 2 Column 3 High, Low Hint A Casino' is really just a large menu of games a user can play. They should be allowed to play those games as long as they wish or have enough money to continue playing. The functions you write should return an integer value (negative if the player loses) representing the player's earnings from the game. These earnings will need to be added (or subtracted) from their total. Extra Credit: Roulette Instructions Add a Roulette game to your casino. In roulette, there is only one interaction between the player and the dealer: the player will place a bet and the dealer will drop the ball on a spinning wheel, in effect, roulette is a sophisticated guessing game where the player is simply trying to guess where the ball will land. Though there are more betting options at an actual roulette table, your application will accept 'outside bets' of Even, Odd, Red, Black, High, Low, Dozens (First, Second, Third), and Columns (1.2.3) The car rann hat nnnnel Once therer deridet where in nlace their het Henn the hall and renart DLL