Skip to content

Latest commit

 

History

History

project003_number gessing game

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Guessing Game

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.

Features

  • 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.

Installation

  1. Clone the repository:

    git clone <repository_url>
  2. Install dependencies:

    npm install
  3. Run the program:

    npm start

Usage

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.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.