CONTENTS
iv
Contents at a Glance
Contents at a Glance................................................................................................ iv
Contents..................................................................................................................... v
About the Author ...................................................................................................... x
About the Technical Reviewer ............................................................................... xi
Acknowledgments ................................................................................................... xii
Introduction ............................................................................................................ xiii
Chapter 1: The Basics ............................................................................................... 1
Chapter 2: Dice Game ............................................................................................. 21
Chapt er 3: Bouncing Ball........................................................................................ 67
Chapter 4: Cannonball and Slingshot ..................................................................... 97
Chapt er 5: The Memory (aka Concentra tion) Game............................................ 141
Chapter 6: Quiz ...................................................................................................... 179
Chapter 7: Mazes ................................................................................................... 213
Chapter 8: Rock, Paper, Scissors ........................................................................ 259
Chapter 9: Hangman .............................................................................................. 287
Chapter 10: Blackjack............................................................................................ 317
Index ....................................................................................................................... 347