Welcome to the Guess the Number Game! This is a console-based game written in JavaScript using Node.js where the player tries to guess a randomly generated number between 1 and 6.
- The program generates a random number between 1 and 6.
- The player enters a guess via the console.
- After each guess, the program provides feedback:
- Correct: You've guessed the number!
- Wrong: Try again!
- The game tells you whether your guess was correct or wrong.
- Generates a random number between 1 and 6.
- Uses inquirer for user input and chalk for colorful output.
- Displays a fun banner using the node-banner and chalk-animation libraries.
- Node.js (version 10 or higher)
- Install dependencies using:
npm install
- Clone the repository:
https://github.com/MuhammedSuhaib/Guess-the-Number-Game.git
cd Guess-the-Number-Game
2. Install dependencies:
```bash
npm install
- Run the game:
node index.js