Here is a game that is worth your time. You even get to code it yourself.
Lolz. Needs a bash interpreter.
~$ nano guessinggame.sh
Paste this in there.
echo “Please pick an integer between 1 and 10.”
while [ “$number” -le 1 ]
let “number %= 11 ”
if [ $guess -eq $number ]
echo “You win!”
echo “You suck. The number was $number.”
Then make it executable.
~$ chmod +x guessinggame.sh
Now you have yourself a dandy.
Run it like so.
This game does not have any input validation. If you try to guess a letter or special character, you will get an error. Guessing out of the bounds of 1 to 10 will also greatly reduce your odds of winning.