void function ( int arg0 , int arg1 , int arg2 , int arg3 , int arg4 ) { this . cannibalsLeft = arg0 ; this . cannibalsRight = arg1 ; this . missionariesLeft = arg2 ; this . missionariesRight = arg3 ; this . boatSide = arg4 ; this . totalMoves = 0 ; }
reset the game with the given parameters concode_field_sep int cannibalsRight concode_elem_sep int boatSide concode_elem_sep int missionariesLeft concode_elem_sep int missionariesRight concode_elem_sep int LEFT concode_elem_sep int totalMoves concode_elem_sep int RIGHT concode_elem_sep int cannibalsLeft concode_field_sep void play concode_elem_sep String moveGenerator concode_elem_sep void moveCannibals concode_elem_sep boolean boatOnRightBank concode_elem_sep void availableMoves concode_elem_sep boolean isValidMove concode_elem_sep String printRightSide concode_elem_sep void printBoard concode_elem_sep int numCannibalsOnLeftBank concode_elem_sep int numCannibalsOnRightBank concode_elem_sep void moveMissionaries concode_elem_sep boolean makeMove concode_elem_sep String printLeftSide concode_elem_sep int numMissionariesOnLeftBank concode_elem_sep int numMissionariesOnRightBank concode_elem_sep boolean boatOnLeftBank concode_elem_sep int status