return the column number on a playing board that corresponds to row r and column c of a board turned so that row 0 is in direction side as specified by the definitions of north , east , etc. . so , if side is north , then tiltcol simply returns c since in that case , the board is not turned . if side is west , then row 0 of the tilted board corresponds to column 0 of the untilted board , and tiltcol returns r. concode_field_sep int _count concode_elem_sep int SQUARES concode_elem_sep int MAX_SCORE concode_elem_sep boolean _testing concode_elem_sep int SIZE concode_elem_sep Game _game concode_elem_sep int _maxScore concode_elem_sep int _score concode_elem_sep int[][] _board concode_field_sep boolean play concode_elem_sep void clear concode_elem_sep void setRandomPiece concode_elem_sep void main concode_elem_sep int tiltRow concode_elem_sep boolean gameOver concode_elem_sep Side keyToSide concode_elem_sep boolean tiltBoard
int function ( Side arg0 , int arg1 , int arg2 ) { switch ( arg0 ) { case NORTH : return arg2 ; case EAST : return SIZE - 1 - arg1 ; case SOUTH : return SIZE - 1 - arg2 ; case WEST : return arg1 ; default : throw new IllegalArgumentException ( "srini_string" ) ; } }