1.1.1 • Published 9 months ago

@faisalkhandev/guess-game v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

šŸŽÆ Guess Game CLI - A Fun Number Guessing Game šŸŽÆ

NPM Version License: MIT

šŸš€ Guess Game CLI is a simple and interactive number guessing game for the terminal, built with Node.js. Play directly in your terminal by guessing a number between 1 and 10! šŸ•¹ļø

✨ Features

āœ… Fun and interactive CLI experience
āœ… Supports both --guess and -g flags
āœ… Built using Commander.js
āœ… Lightweight and fast
āœ… Cross-platform (Windows, macOS, Linux)


šŸ“Œ Installation

Install the package globally using npm:

npm install -g @faisalkhandev/guess-game

Or use it directly with npx (no installation required):

npx @faisalkhandev/guess-game --guess 5

šŸŽ® How to Play

Simply run the command:

guess --guess

or use the short version:

guess -g

Example

guess --guess 7 or guess -g 7

If you guess the correct number, you win! Otherwise, the correct answer will be revealed.

šŸ“¦ Usage in a Project

You can also use it in a Node.js project:

const guessGame = require("@faisalkhandev/guess-game"); guessGame();

šŸ› ļø Development

If you want to contribute or modify the game:

git clone https://github.com/faisalkhandev/guessGamePackage.git

cd guessGamePackage

npm install

node guess.js --guess 5

šŸ“ License This project is licensed under the MIT License.

šŸ“Œ Created by Faisal Khan Dev šŸš€