Basic mechanics to indicate that  game is over.
Also PieceColor renamed into SideColor to indicate additional role of side which ply is now.