The code for tictactoe is in the tictactoe branch of the CordovaStarterApp repository. The code posted there works, although it can be refined in many ways (for instance, it lacks a "new game" button, and win detection). The code developed in the class video is conceptually correct, but some things had to be fixed. In particular:
For next time, think at how you would implement the battleships game.