whether the move puts the opponent in check concode_field_sep int c concode_elem_sep boolean alive concode_elem_sep int r concode_elem_sep boolean player concode_field_sep boolean checkHoriz concode_elem_sep boolean testMove concode_elem_sep void move concode_elem_sep boolean checkPiece concode_elem_sep boolean tryMove concode_elem_sep boolean checkTurn concode_elem_sep boolean checkMove concode_elem_sep void capture concode_elem_sep List<Piece> checkCheck concode_elem_sep boolean checkDiagonal concode_elem_sep boolean checkRange concode_elem_sep boolean isAlive concode_elem_sep void initPiece concode_elem_sep void uncaptured concode_elem_sep void captured concode_elem_sep boolean testAll concode_elem_sep boolean checkVert concode_elem_sep boolean checkDir concode_elem_sep boolean moveTo
void function ( Game arg0 ) { King loc0 = player ? arg0 . loc0 [ 1 ] : arg0 . loc0 [ 0 ] ; List < Piece > loc1 = checkCheck ( arg0 , loc0 , false ) ; if ( ! loc1 . isEmpty ( ) ) { loc0 . checked = true ; loc0 . loc1 = loc1 ; } }