To move the pieces, just drag the X or O. Note: when you win, the project will wait two seconds just in case you won on accident, to see how you won. Another Note: CPU is really easy, sorry for those who wanted a challenge.
All code by me, but my dad helped a lot. The grid is from google, and the X and O are from scratch.