I\'m developing a chess app, using Swift. It\'s going well, but I\'m stuck at the part where I have to check if a piece\'s move has been blocked by another piece. I\'ve trie