Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Guess the Number Game in Go Lang

πŸ”’ A fun command-line game where computer try to guess your number!

Description

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.

How to Play

  1. Download the binary file from here
  2. Navigate to the downloads directory in your terminal.
  3. Run the command ./guessing_game to start the game.
  4. Think of a number between 1 and 100.
  5. Follow the instructions in the command-line interface to provide feedback on the computer's guesses.
  6. The game ends when the computer correctly guesses your number.

Contributing

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.

License

This project is licensed under the MIT License.

About

πŸ”’ Guess the number game in Go Lang - can you crack the code?

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages