pub fn get_diagonals(square: usize) -> u64
Expand description

Gets a diagonal pattern for the square specified by square_.

. . . . . . . x
x . . . . . x .
. x . . . x . .
. . x . x . . .
. . . x . . . .
. . x . x . . .
. x . . . x . .
x . . . . . x .