Project 1 Roulette Groups of one, two or three. Distributed: 9/30/2014 Due: 10/21/2014 Comment: Gambling is a dangerous, dangerous thing. It is absolute sin in some belief systems. If you are troubled by the gambling nature of roulette, then abstract the gambling away and think of the problem as applied probabilities. (1) Implement a game of roulette (simplified!) Wheel should have numbers from 1 to max, red and black, a white '0' and a white '00'. Actual roulette uses max==38, but you can use a smaller max for higher expected value of payout. A player starts with $20 (for initial setup -- you may modify this by hardcoding a different initial value or by letting the player set the initial value). A player can place a bet of any amount, whole dollars only, on any number of slots on each round. There are two NPCs who are also placing bets. If a player's (or NPC's) number comes up, he wins $35 for every $1 that was bet. All NPCs start with the same amount of cash and each will place a bet at a random location. When an NPC runs out of cash, he will drop out of the game permanently. An NPC does not have to bet on each round. When the player runs out of cash, the game is over. The player's score is 0. When there are no NPCs remaining, the game is over. The players score is whatever he won. At the end of the game, list the scores for house, player, each NPC. See http://www.youtube.com/watch?v=pYKcPL0N9QQ for the mathematics of roulette. See http://en.wikipedia.org/wiki/Roulette for rules of roulette. See http://roulettewinsystems.com/roulette-betting-how-to.html for actual roulette advice. (2) Identify and implement effects for enhancing player experience: Change sound to indicate approaching end of wheel spin. NPC appearance change as they get richer or poorer. Payoff (visual, sound effects) on win and/or on loss. (3) Implement a visual of the entire roulette wheel rotating. The number that comes up should be displayed on the wheel. Turn in: Screen shot of game in progress Hard copy of motion code for wheel Demo, entire group, at some out of class time Grade based on Meeting spec Visual playability Visual feedback Quality of code