abdul-saboor-cli-number-guessing-game
v1.0.4
Published
CLI number guessing game for npm & GitHub.
Downloads
19
Maintainers
Readme
CLI Number Guessing Game
CLI Number Guessing Game is a simple command-line game where players need to guess a number between 1 to 5.
Developer
Abdul Saboor.
Features
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.
Technologies Used
JavaScript (JS)
TypeScript (TS)
Inquirer
Chalk
Installation
GitHub
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
NPX Command
Alternatively, you can run the game using npx without installing it locally:
Copy code
npx abdul-saboor-cli-number-guessing-game
Contributions
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.
Acknowledgments
Special thanks to Code with Hamza for their contributions to this project.
License
CLI Number Guessing Game is licensed under the ISC License. For more information, see the License.txt file.
Contact
For any inquiries or feedback, please contact us at [email protected]