Hi-Lo Game : Bash scripting
This game is developed for Bash shell. It is designed for 2 players. Player 1 enters the Target word / number and Player 2 repeatedly guesses it. It also tracks the best performance from player 2.
This script contains:
2) Conditional statement
3) String comparison.
4) Numeric comparison.
5) File handling.
6) Text formatting.
7) Input from user.
8) Hides the typed word / number from Player 1 ( using stty )
If you are new to Shell scripting, this script can be a starting point for you.
[office src=”https://skydrive.live.com/embed?cid=D4142983C7B25AC9&resid=D4142983C7B25AC9%211659&authkey=AHJFHYhpEepxfpY” width=”98″ height=”120″]