Hello everyone,
I need your help. Im not familiar with Unix Shell Script. Help me to create shell script that emulates a simple number guessing game.
1) Preset an integer from the range of 1 to 100 in your script for the user to guess.
2) Start the game by asking the user to enter his/her name and, the script will display a welcoming message to the user followed by his/her given name. 3) Next, prompt the user to guess the number by entering an integer from the range of 1 to 100.
4) Allow the user to guess until he/she got the correct guess, and display a
congratulatory message.
5) Provide a hint for the user each time he/she entered a guess by displaying whether the user should guess lower or higher than 25, 50 or 75.
Any help will be appreciated. Thanks