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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access