Implementing check mate for BasicMove