Simple tic-tac-toe using jQuery