(Game of Craps) Write an application that runs 1000 games of craps (Fig 6.9) and answers the following questions:

  1. How many games are won on the first roll, second roll, ..., twentieth roll, and after the twentieth roll?
  2. How many games are lost on the first roll, second roll, ..., twentieth roll, and after the twentieth roll?
  3. What are the chances of winnning at craps? [Note: You should discover that craps is one of the fairest casino games. What do you suppose this means?]
  4. What is the average length of a game of craps?
  5. Do the chances of winning improve with the length of the game?

This is tougher than some of the other exercises. If you need some help, click here. My solution will be available here and here after the end of next week’s class.