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.
To use this app, you need to have Node.js and npm installed on your machine. Run the following command in the terminal to install the app:
npm i number_guessing_game-usamy
Then, run the following command to use the app:
npx number_guessing_game-usamy
- TypeScript
- Node.js
- Inquirer
Here are some screenshots of the app in action: