All right, it is time to turn your attention back to the development of this chapter’s game project, the AppleScript Shell game. The design of this game relies extensively on the use of custom handlers. In developing this AppleScript, you will gain additional experience in developing handlers that accept and process arguments and which also return a result back to the statements that call on them.
The AppleScript Shell game is created by following 10 steps, as outlined here:
Create a new AppleScript and save it with a name of Shell Game.
Document the script and its purpose.
Declare the game’s global variable.
Initialize variable starting values.
Develop the high-level programming ...