renatofreitas 0 Newbie Poster

Hi, I need a source code to do de follow game:

The Player digitizes a secret number and a second player will have of guess the secret number.
The number of attempts will be able to to be limited or unlimited, depending on the level of the game chosen.
The game will have an option, in that the priemrio player will be the computer, in that case the computer will produce a random number.
Whenever the player number two try to guess the secret number, devrásurgir a message that itself say the number introduced is bigger or more less than the secret number.
The program should possess a counter, that indicate the number of attempts efectuadas by the second player.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.