cli_numberguessgame_piaic_shaheer
v1.0.5
Published
A CLI number guessing game based upon Typescript colored with chalk which allows the user to guess the correct number between 1 and 12 ( both inclusive ), with a total number of tries upto 3. This guess the number game is a short TypeScript/Node.js proje
Downloads
10
Readme
TypeScript CLI Number Guessing Game - Muhammad Shaheer Kamran
A CLI number guessing game based upon Typescript colored with chalk which allows the user to guess the correct number between 1 and 12 ( both inclusive ), with a total number of tries upto 3. This guess the number game is a short TypeScript/Node.js project that allows the user to guess the number generated by the computer. There are also several ways to alter the game, like adding more rounds or displaying the score. It’s quite simple and uses the random function to generate a number.
Run the Number Guess Game on your VSCode
npx cli_numberGuessGame_piaic_shaheer
Packages
Inquirer
npm i inquirer
npm --save-dev @types/inquirer -D
Chalk
npm i chalk
npm i @types/chalk -D
Node Modules
npm i @types/node