Added maxGuessedNum attribute as setting