1 / 15

EGR 141 Computer Problem Solving in Engineering and Computer Science

EGR 141 Computer Problem Solving in Engineering and Computer Science. Laboratory Experiment #4 A Computerized Game : Craps. The Game. Dice Game Played in many casinos Bet on outcome of dice roll We will simulate the “pass line” bet. Pass Line bet. “Come out” roll First roll of the game

mason-weber
Télécharger la présentation

EGR 141 Computer Problem Solving in Engineering and Computer Science

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EGR 141Computer Problem Solving in Engineering and Computer Science Laboratory Experiment #4 A Computerized Game : Craps

  2. The Game • Dice Game • Played in many casinos • Bet on outcome of dice roll • We will simulate the “pass line” bet

  3. Pass Line bet • “Come out” roll • First roll of the game • Player wins if roll is 7 or 11 • Player loses if 2, 3, or 12 • Other totals result in establishing the point

  4. Subsequent Roll • Try to roll the Point before you roll a 7 • All other dice totals don’t count

  5. OFF

  6. OFF Winner

  7. OFF Winner

  8. OFF Loser

  9. ON OFF

  10. ON

  11. ON

  12. ON OFF Loser

  13. ON OFF

  14. ON

  15. ON OFF Winner

More Related