m-guess-the-number-game
v2.0.1
Published
Guess The Number Game with TypeScript,Node.js and inquirer.js
Downloads
7
Readme
Guess the Number game
-m-guess-the-number-game(Project-Name)
-m-guess-the-number-game is a simple command-line game built with TypeScript and Node.js. In this game, the computer randomly selects a number between 1 and 100, and the player has to guess the number within a certain number of rounds.
Installation
To play the game, you can either install it globally via npm or run it directly using npx:
For Window Users
npm install -g -m-guess-the-number-game
For Mac/Linux Users
sudo npm install -g -m-guess-the-number-game
How to Play
Once you have installed the game or running it using npx
, you can start playing by following the on-screen instructions.
The game will prompt you to guess a number between 1 and 100 within a certain number of rounds. Enter your guess when prompted, and the game will inform you if your guess is too high or too low. Keep guessing until you either guess the correct number or run out of rounds.
This is the command for npx:
For Window Users
npx -m-guess-the-number-game
For Mac/Linux Users
sudo npx -m-guess-the-number-game
Technologies Used
- TypeScript
- Node.js
- Inquirer.js
Contributors
- M.Ahmad Jawad