Chess kings move only one square, but they can move in any direction.

The sudoku Anti-King constraint is global, applying to every digit, and means each digit does not repeat in any cell a chess king’s move away.

In practice, standard sudoku rules already prevent digits repeating in a row or column, so the Anti-King constraint only eliminates diagonally-adjacent repeats. Standard sudoku rules already prevent digits repeating in a box, so the Anti-King constraint only eliminate anything for digits along box borders.