It is useful to know something of endgame theory - for example knowing who has the opposition.
Diag.1: Whoever moves given an ODD total of squares between the kings
does NOT have the opposition. So if White to move (and 5 squares) Black
has the opposition.