Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
This chapter’s game project is the AppleScript Shell game. This game is based on the traditional shell guessing game in which the player is challenged to guess under which of three shells a ball is being hidden. In this game, the player is given a $10 bank account with which to start the game. The game begins by displaying the dialog window shown in Figure 6.1.