Game Development Reference
Object-oriented programming can become quite a big topic, but it doesn't have to be. Start small by
using these simple techniques. In the next section, you'll look at a very practical example of these new
object-oriented techniques in a game design project.
Case study: Dungeon Maze Adventure
The game you'll build is a very simple adventure game called Dungeon Maze Adventure. It's a tiny
game, but don't be fooled—all the elements that go into building a complex, large-scale adventure
game are contained in this example.
The best thing to do first is actually play the game, which you'll find as `qjcakjI]va*osb in the chapter's
source files. Figure 8-5 is a map of the game and the objectives the player has to achieve to win.
Figure 8-5. Dungeon Maze Adventure map