O'Reilly logo

AppleScript® Programming for the Absolute Beginner by Jerry Lee Ford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project Preview: The AppleScript Fortune Teller Game

This chapter’s game project is the AppleScript Fortune Teller. This game is designed to respond to questions asked by the player. To play, the player must ask questions that can be answered with Yes/No answers. When first started, the game displays a popup window that provides the player with instructions on how to formulate questions, as shown in Figure 3.1.

Figure 3.1. The player is forewarned that the Fortune Teller has a quick temper.

Once this window is dismissed, the game displays another dialog window that prompts the player to type in a question for the Fortune Teller to answer, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required