Lesson 26.8 The Game of Pig
From Hannah Lee
With while-loops we can now write some super complex programs – once that we way more sophisticated than what we have done before. In this video we show how to create a complete dice game with an AI opponent. For students interested in learning more about the game of Pig, we recommend that you read the Wikipedia entry.