-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle2.sh
44 lines (38 loc) · 1.1 KB
/
circle2.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/bin/bash
echo ""
echo "~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~"
echo ""
echo "Virgil whispers, \"Behold, we have entered the 2nd Circle of Hell. The place of Envy."
echo ""
CIRCLE2_DESCRIPTION="\nVirgil says, \"Behold the Second Circle. The air is thick with stormy winds, relentlessly driving wayward souls like leaves in a tempest. Their cries and lamentations form an ever-present echo.\" \n\nVirgil adds, \"From here we can go to the following directions: north, south, east.\"\n"
CIRCLE2_CLUE="\nVirgil calmly states, \"Our search in the Second Circle yields no clue. We must press onward in our journey.\"\n"
while true; do
read -p "Virgil asks, \"What would you like to do, or where would you like to go?\" " COMMAND
case $COMMAND in
look)
echo -e "$CIRCLE2_DESCRIPTION"
;;
search)
echo -e "$CIRCLE2_CLUE"
;;
north)
./circle9.sh
exit
;;
south)
./circle3.sh
exit
;;
east)
./circle1.sh
exit
;;
hope)
./game-epilogue.sh
exit
;;
*)
echo -e "\nVirgil shakes his head, \"That is not a valid option.\"\n"
;;
esac
done