π’ A fun command-line game where computer try to guess your number!
This is a simple command-line game where the computer tries to guess a number that you are thinking of. The program uses a binary search algorithm to make smart guesses and narrow down the possible range of numbers. After each guess, the program will ask you if the guess was too high, too low, or correct. The game continues until the computer correctly guesses your number.
- Download the binary file from here
- Navigate to the downloads directory in your terminal.
- Run the command
./guessing_gameto start the game. - Think of a number between 1 and 100.
- Follow the instructions in the command-line interface to provide feedback on the computer's guesses.
- The game ends when the computer correctly guesses your number.
Contributions to this project are welcome. Feel free to submit bug reports or feature requests via the Issues tab on this GitHub repository. If you'd like to make a code contribution, please fork this repository and create a pull request.
This project is licensed under the MIT License.