< Previous | Contents | Next >
Introducing the Tic-Tac-Toe Game
In this chapter project, you’ll learn how to create a computer opponent using a dash of AI (Artificial Intelligence). In the game, the player and computer square off in a high-stakes, man-versus-machine showdown of Tic-Tac-Toe. The computer plays a formidable (although not perfect) game and comes with enough attitude to make any match fun. Figure 6.5 shows the start of a match.
The computer is full of.. .confidence.