boolean function ( int arg0 , int arg1 , Game arg2 ) { if ( ! alive ) return false ; if ( ! checkRange ( arg0 , arg1 ) ) return false ; if ( ! checkDir ( arg0 , arg1 ) ) return false ; if ( ! checkPiece ( arg0 , arg1 , arg2 ) ) return false ; return true ; }
checks the range , direction and pieces in between concode_field_sep int c concode_elem_sep boolean alive concode_elem_sep int ycoord concode_elem_sep int r concode_elem_sep int xcoord 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 void capture concode_elem_sep boolean checkCheck concode_elem_sep boolean checkDiagonal concode_elem_sep boolean checkRange concode_elem_sep boolean isAlive concode_elem_sep void checkOpponent 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