O'Reilly logo

Beginning Facebook Game Apps Development by Wayne Graham

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

Tic-Tac-Toe

Building a massive world can take months even with an army of engineers. However, the minigames that one plays in these systems are far simpler to dissect and explain. Because there are different tricks and techniques in all of these, getting a feel for how to put these together is important. For our social gaming minigame, we create a version of Tic-Tac-Toe that you have to play against the computer. We add some storyline to the cycles to play the game to make it a bit more engaging.

As in Chapter 6, the first thing to set up is the HTML and the project directories. I use the same directory structure as the last project in Chapter 6, so if you need help setting that up, check out the “Boilerplate” section (Listing 7–1), with a couple ...

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