public Answer(AnswerCombination answerCombination,
      boolean additionalAttemptPossible, boolean targetFound, int attemptsCount) {
    if (answerCombination == null) {
      this.nb_blacks = 0;
      this.nb_whites = 0;
    } else {
      this.nb_blacks = answerCombination.getBlackCount();
      this.nb_whites = answerCombination.getWhiteCount();
    }
    this.more_attempts = additionalAttemptPossible;
    this.target_found = targetFound;
    this.remaining_attempts = attemptsCount;
  }