The bishop has a problem with edge cases for instance row 0 col 0. It will go beyond the bounds of the board. I have added a hack to make sure it doesn't but it should be fixed.
Log in to post a comment.