Comment Comment by polyomino This is a tangent, but checking if all the elements in the diagonal position are the same is not sufficient. You also need to check that any of the elements are not '-'. parent polyomino 2 years ago