CS 4960
Fall Semester 1999

 
Problem 8-3

 
Assigned: 14 October 1999
Due: 21 October 1999
 
 
Assume the following rules for roulette:

Roulette consists of a wheel with 37 numbers, these include the numbers 1-36 and 0. After all the bets have been established the wheel is spun and a ball is placed on the outer edge of the wheel.  The ball will then drop into one of the number pockets once the wheel slows down. The numbers on the wheel alternate pairs of odd numbers with pairs of even numbers and alternate between black and red. Zero is green in color.  The object of the game is to determine which number or color the ball with ultimately end up on.

Red or Black Bet:

Bet on either red or black. Place your chip on either the red spot
or the black spot.  If the other color comes up or zero, you lose.
 

Run a simulation to determine the average result on various amounts of total dollars to play and starting bet amount using the following strategy: