Monday, April 4, 2011

Tic Tac Toe


This week’s assignment was to create a Tic Tac Toe game using jQuery. Creating this game was definitely the trickiest and most complicated assignment of the semester. Since this was the last assignment it stands to reason that it would be the hardest. One of my problems, when working through an exercise such as this, is that I tend to want to skip some of the learning steps. I watched the video provided by the instructor and then wanted to skip the steps where I would test to make sure that jQuery was working. Then when I tried to make the program I created interactive, it didn’t work and I had to start all over again. But once I forced myself to go through all the steps I didn’t have a problem getting it to render correctly.

I also had to figure out how to get back to the index page with the clickable link. I knew how to move up one directory (because the professor had shown us,) but didn’t know how to move up the second directory. Moving up one directory looked like this: “../”  while , after a little research, I found that moving up two directories needed to be rendered like this: “../../” I tried to write it with four periods and one backslash and that wasn’t working. Once I figured that out it was very easy to load and get up and running.

If you’re dying to play Tic Tac Toe you can check it out here