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

Back to the Tic-Tac-Toe Game

Okay, now let’s turn our attention back to this chapter’s game project, the Tic-Tac-Toe game. This version of the Tic-Tac-Toe game is a two-player version, in which Player X and Player O take turns clicking on unselected game board squares in an effort to line up three squares in a row (horizontally, vertically, or diagonally). To create this game, you will need to learn how to work with AppleScript Studio, which you will do by carefully following the instructions provided in the sections that follow.

The Tic-Tac-Toe application will be created in five steps, as outlined here:

1.
Start Xcode and create a new AppleScript Studio application.
2.
Create the game’s graphical user interface.
3.
Configure menu, window, ...

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