There are tuns of text games that are made for the Z-Machine.
You just need to install the Z-Machine emulator:
yum install frotz -y
Now go here and get some cool game files:
Advent.z5 is a cool game.
I also found hhgg.z3 which is the Hitch Hikers Guide to The Galaxy game.
I don't remember where I found that one though.
Just put the files where you want then:
Open a term:
cd /the directory where the file is
and there you go.
If you want to create your own text adventures then try this out:
Also this is good info: