Time for action – creating Tic-tac-toe

The basic Tic-tac-toe game involves two players and a 3 x 3 grid. The players take turns filling X's and O's. The player who first fills a line of three squares with his/her letter wins the game. If all squares are filled without a player achieving a line of three, the game is a tie. Let's perform the following steps to create our game:

  1. The first thing to do is to create a project for this chapter. So, start up Unity and we will do just that.
  2. If you have been following along so far, Unity should boot up into the last project that was open. This isn't a bad feature, but it can become extremely annoying. Think of it like this: you have been working on a project for a while and it has grown large. Now you need ...

Get Unity Android Game Development by Example Beginner's Guide 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.