CLI Number Guessing Game is a simple command-line game where players need to guess a number between 1 to 5.
Abdul Saboor.
Guess a number between 1 to 5.
Receive feedback with styled messages:
Incorrect guesses are displayed in red using Chalk.
Correct guesses are displayed in green using Chalk.
JavaScript (JS)
TypeScript (TS)
Inquirer
Chalk
Clone the repository:
Copy code
git clone https://github.com/AbdulSaboor345/cli-number-guessing-game.git
Navigate to the project directory:
cd [your/folder/directory]
Install dependencies:
Copy code
npm i inquirer
npm i @types/inquirer
Run the application:
Copy code
npm start
Alternatively, you can run the game using npx without installing it locally:
Copy code
npx abdul-saboor-cli-number-guessing-game
Contributions are welcome! If you'd like to contribute to CLI Number Guessing Game, please follow these guidelines:
Fork the repository.
Create a new branch.
Make your changes.
Test your changes.
Submit a pull request.
Special thanks to Code with Hamza for their contributions to this project.
CLI Number Guessing Game is licensed under the ISC License. For more information, see the License.txt file.
For any inquiries or feedback, please contact us at a.saboor.no.1@gmail.com