- Bash
- Dash
- C Shell
- Z Shell
- Bourne Shell
- A working computer!
- Your command line interpreter of choice.
- A proper text editor (In case you want to contribute). Some suggested editors are VScode, Notepad++ and Sublime.
- Some level of boredom.
- A lot of luck.
- Appreciation for games with simple gameplay loops (literally).
This project is a simple number guessing game to occupy yourself during your programming sessions, while waiting for some big program to compile, a linux package to install, or an update to download !
- When launching the script, the first argument will be the player's lifes, the second one will
be the number selection seed (from 0 to arg2);
./shell_guess.sh
lives
seed
. - Launching the script without arguments wil result in default settings (5 lives, from 0 to 10 selection).
- Guessing the number correctly from the first try will terminate the game as a win.
- Guessing the number incorrectly will remove a life.
- Guessing the number correctly will grant an additional life.
- Losing all lifes will terminate the game as a loss.
- Guessing the number correctly multiple times in a row will put you on a streak.
If you'd like to contribute to this project, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request.