Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (
- sumOfDiceThrows > numberOfDices * averageDiceThrow && //This condition checks if you were lucky with throws so far
- hasThereBeenASix && // this is a boolean storing if you threw a six, it checks if you could threw again because you have thrown a 6
- resultOfYourFirstThrow > resultOfSecondPlayersFirstThrow ) // this checks if you started the game.
- {
- //you can write whatever you want here
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement