Simple Craps Game

Simplified State Diagram

This diagram is to define a solution before coding starts. It can be as vague or as detailed as needed.

image missing

What is missing from the diagram are any error states, messages, etc.

Project Code

The state diagram above and the code for A Simple Number Guessing Game should be enough for you to complete this project.

Design

1. The player starts with $10,000

2. The minimum bet is $1

3. The menu should display the current state of the game every time:

4. Never trust the user. Always validate their input before using it.

Note: if the player losses all of their money, they lose.