switches local variables name in tic tac toe