A JavaScript "tic-tac-toe" game