Could you identify if my reasoning is correct:
1) Get the instance `ChessBoard temp = this;`
2) Refactor all the relevant fields (eg `ArrayList<Piece> blackpieces temp = this.blackpieces`)
3) Perform the move internally
4) See if the color that made the move is in check