While in the game user A makes a move, user B makes a move. Now it is the turn of A again.
A performs the 'undo' which rolls back last move of player B and his own last move.
On this player A can trigger 'redo' which will place the moves as they were before the undo.