public void sendCodeMove(String code){
    check(isMyTurn() && currentMove == CODE);
    int maxDigit = (Integer)state.get(MAXDIGIT);
    check(masterMindLogic.checkValidCode(code, maxDigit));
    this.sendCodeOperation(coderId, guesserId, code);
  }