Chapter 14. The Text Generation
In this bonus chapter we will learn about the oldest games around, known as "text adventures" or text-based games. A long time ago (the 70s and early 80s), computers didn't have the graphics capabilities that they have today. Because of this, most games were descriptive in nature rather than graphic. The games would use text to convey the state of the game and, conversely, the player would enter in plain English sentences to command the character in the game. One of the most notable games created in the early 80's was a game called Zork by Infocom. It was incredibly successful because the language interpreter was very advanced and the game environment was very robust. Furthermore, the user could type in almost any sentence and the game would be able to figure out what the player was trying to say.
The material we will cover isn't hard, but it is different from what we have been covering. There will be a lot of new terms and many of them have meanings that aren't well defined. But, by the end of this chapter, you will be able to make your own text adventure! Here are the topics we'll cover: