This project is a simple command-line guessing game where the player needs to guess a random number between 1 to 10. The game runs for a specified number of rounds, and the player receives feedback after each guess.
- Random Number Generation: Generates a random number between 1 to 10 for each round.
- User Input: Allows the player to input their guess for each round.
- Feedback: Provides feedback to the player after each guess, indicating whether their guess was correct or incorrect.
- Multiple Rounds: Runs for a specified number of rounds, allowing the player to make multiple guesses.
-
Clone the repository:
git clone <repository_url>
-
Install dependencies:
npm install
-
Run the program:
npm start
Upon running the program, the player will be prompted to guess a number between 1 to 10 for each round. After each guess, the player will receive feedback indicating whether their guess was correct or not. The game will continue for the specified number of rounds.
Contributions are welcome! If you have any suggestions, bug fixes, or new features to propose, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.