Chapter     7

The Game, Part 3: Player Control Input

In the now-classic 1983 movie WarGames, teenaged hacker-extraordinaire (relatively speaking!) David Lightman hacks into the powerful military computer WOPR and accidentally sets off a chain of events that propels the world toward potential nuclear war. In the climactic final scene, David forces WOPR to play a series of tic-tac-toe games against itself to show that some games inevitably lead to no winner (just like nuclear war, get it?).

While great as a conclusion to a movie, a computer playing itself in tic-tac-toe isn’t the most exciting prospect from a purely fun video game perspective. Video games are made for humans to play, whether against the computer (to prove the superiority of mankind?) ...

Get Learn Corona SDK Game Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.