Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
You're asking the user to guess a number within a certain amount of tries while telling him he needs to guess it in as few tries as possible. That's not the same.