Skip to main content
1 of 2
Mike Nakis
  • 32.7k
  • 7
  • 80
  • 116

I think your code is equivalent to this:

if( ( arrayX == 0 || arrayX == 7 ) && board.GetBoard(arrayX + 1, arrayY - 1).Piece == null)
    return true;
Mike Nakis
  • 32.7k
  • 7
  • 80
  • 116