question: find all the possible moves of the pieces the player concode_field_sep Piece capturedPiece concode_elem_sep int prevr concode_elem_sep Derp[] derp concode_elem_sep Rook[] rook concode_elem_sep Pawn[] pawn concode_elem_sep King[] king concode_elem_sep Bishop[] bishop concode_elem_sep int numc concode_elem_sep int prevc concode_elem_sep Result result concode_elem_sep Queen[] queen concode_elem_sep boolean custom concode_elem_sep boolean turn concode_elem_sep Game instance concode_elem_sep Knight[] knight concode_elem_sep Sheep[] sheep concode_elem_sep Piece movedPiece concode_elem_sep Piece[][] board concode_elem_sep int numr concode_field_sep void loadState concode_elem_sep void printBoard concode_elem_sep void checkMate concode_elem_sep void makeGame concode_elem_sep void destroy concode_elem_sep void startGame concode_elem_sep void startGame concode_elem_sep Game getInstance concode_elem_sep void staleMate
target: boolean function ( boolean arg0 ) { for ( int loc0 = 0 ; loc0 < board . length ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < board [ 0 ] . length ; loc1 ++ ) { Piece loc2 = board [ loc0 ] [ loc1 ] ; if ( loc2 == null || loc2 . arg0 != arg0 ) continue ; if ( loc2 . testAll ( this ) ) { return true ; } } } return false ; }