player will update the move history

undo uses move method so it did not work properly