- A random number will be generated between 1 to 100. You will need to guess this in 10 guesses
- You will be given a hint about the entered number, is that lesser or greater from the target number
- Your score will be reduce by 1 each time you enter a incorrect guess
- If your score reaches to zero, then you loose the game
- You can still restart the game with next random generated number.
- Hit npm install, and npm run dev to run the app, and npm run build to build the app.
Install Prettier extenstion for vscode and put below configuration in workspace setting.json to format the code
{
'editor.formatOnSave': true,
'editor.formatOnPaste': true,
'editor.defaultFormatter': 'esbenp.prettier-vscode',
}
You can use you own configuration for prettier as well