String function ( Piece arg0 ) { if ( arg0 == null ) { return "srini_string" ; } String loc0 ; switch ( arg0 . getColor ( ) ) { case Piece . COLOR_BLACK : loc0 = "srini_string" ; break ; case Piece . COLOR_WHITE : loc0 = "srini_string" ; break ; default : loc0 = "srini_string" ; break ; } return loc0 ; }
returns the name of the specified piece . the name is based on color the first letter represents the color : b = black , w = white , ? = unknown a two letter empty string is returned in case the specified piece is null concode_field_sep Game game concode_field_sep int convertColumnStrToColumnInt concode_elem_sep int convertRowStrToRowInt concode_elem_sep Move getMove concode_elem_sep void moveSuccessfullyExecuted concode_elem_sep void main concode_elem_sep Move convertStringToMove concode_elem_sep void printCurrentGameState