Change Between Two Players

There will be two players, when player has the value of 1, X is the current player

and when player has the value of -1, O is the current player.