Skip to content

Latest commit

 

History

History

Roll-Dice-Game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Roll dice game


question

You roll two six-sided dice, each with faces containing one, two, three, four, five

and six spots, respectively. When the dice come to rest, the sum of the spots on the

two upward faces is calculated. If the sum is 7 or 11 on the first roll, you win. Ifthe sum is 2, 3 or 12 on the first ### roll (called “craps”), you lose (i.e., the “house”wins). If the sum is 4, 5, 6, 8, 9 or 10 on the first roll, that sum ### becomes your

“point.” To win, you must continue rolling the dice until you “make your point”

(i.e., roll that same point value). You lose by rolling a 7 before making your point.

-> From deitel series book <-