Nicholas's Writing

Question:

Write a full javascript webpage to play tic-tac-toe against the computer.
- The computer goes first.
- The person clicks on squares to make their move.
- The computer should play perfectly and so never lose.
- If someone wins then say who won.

Answer:

A fully functional game as described.