If an alternate board representation to the problem description’s ASCII art is welcomed, a zero-indexed and invertible ( dark-mode friendly ) SVG equivalent is available:
–