Roulette simple simulator

broken image
broken image

The base directory structure is used for all projects in the class, including supporting data and software are will be set up correctly when you follow those instructions. You can learn more about roulette and betting here: Tasksįirst, if you haven't yet set up your software environment, follow the instructions here: ML4T_Software_Setup. For this project we will be assuming an American wheel. The odds of winning or losing depend on whether you're betting at an American wheel or a European wheel. If you bet N chips and you lose then those N chips are lost. That means that if you bet N chips and win, you keep your N chips and you win another N chips. Here are some details regarding how roulette betting works: Betting on black (or red) is considered an 'even money' bet.

broken image

episode_winnings = episode_winnings - bet_amount.

broken image

episode_winnings = episode_winnings + bet_amount.In this project you will evaluate the actual betting strategy that Professor Balch uses at roulette when he goes to Las Vegas. The purpose of this assignment is to get you started programming in Python right away and to help provide you some initial feel for risk, probability and 'betting.' Purchasing a stock is, after all, a bet that the stock will increase in value. We do not anticipate changes any changes will be logged in this section. This assignment is subject to change up until 3 weeks prior to the due date.

broken image