You wrote:The additional padding on the top and bottom is because a Knight is able to jump 2 squares deep.
But the knight can jump two squares deep to the sides as well.
Yes, but the array wraps to the other side when you drop off sideways. There is padding on both sides, so there is enough to catch the Knight there.
That's actually so clever, I didn't think about that!