You are likely to be eaten by a grue
Interactive fiction (IF) games is game where the main way to interact with the game is by typing text. It can be a text-only game or text that are accompanied by media such as images, videos or audio.
Games
A Mind Forever Voyaging - 1985
Zork - 1979
Reference