Okay I think I know where the problem is. Please allow me to show you. I think after establishing a point value the dice is then rolled. After rolling and eventually hitting 7 or hitting the point...
Type: Posts; User: Rain_Maker
Okay I think I know where the problem is. Please allow me to show you. I think after establishing a point value the dice is then rolled. After rolling and eventually hitting 7 or hitting the point...
Okay I re written my code again. I here is the output now.
Output
You rolled a 2
You lose!
Play again? 1 for YES; 0 for NO:
1
Let's play a game of dice.
Enter "0" zero to roll the...
Okay I just reformatted my code to make it allot more easier for both of us. Okay I see a problem here.
Please enter "0" zero to roll the dice again.
You rolled a: 8
0
Please enter "0" zero...
Yeah I'm really sorry. These for loops are really hard for me to format. I was having trouble reading it myself. Can we just start off with formatting? Cause I really don't know who to make it more...
Here is my project!
To play craps, a player rolls two dice repeatedly until he wins or loses.
If he makes a 7 or an 11 on the first roll, he wins immediately.
An initial roll of 2, 3, or 12...