This Friday I worked on a game called Pig. When you roll a dice, you get a number from one to six. If you get anything other than one, you take that and you add that to the score of your turn. You can roll the dice as many times as you want, but if you roll a one, your score resets to zero and your turn is over.



This program helped me learn to return values.
Leave a Reply