working tic tac toe. not firebase compatible yet