Sua construção case
está malformada - cada caso precisa ser finalizado por ;;
:
#!/bin/bash
clear
echo "you are in a dark room."
echo "1: Turn on light"
echo "2: Go back to sleep"
read option1
case $option1 in
1) echo "The room fills with light, revealing itself. It is a
small room, with a Steel door and a small keyhole. There is a small
piggybank with a keyhole and a small wooden chest beside it without a
keyhole."
;;
2) echo "What little of the room you can see fades as sleep
washes over you"
;;
*)
exit
;;
esac