@alpha_anas/number_guessing_game
v2.0.0
Published
A simple number guessing game implemented in TypeScript.
Downloads
6
Readme
Number Guessing Game
A simple number guessing game implemented in TypeScript.
Installation
- Clone the repository:
git clone https://github.com/AlphaAnas/Typescript-Projects-PIAIC-course.git or download the zip folder
- Install dependencies:
First Open the folder in VS-Code
then in the terminal type "cd Number_Guessing_Game"
to get to the the current Number Guessing Game folder
npm install (to install node modules folder) npm install inquirer npm --init (to install package.json) tsc init (to install tsconfig.json)
Usage
Start the game:
npm start
Game Rules
Guess the randomly generated number within the range.
Feedback provided for each guess (too high, too low, correct).
Limited number of attempts to guess correctly.