It's really just tic tac toe in JavaScript