Ultimate Quest

Ultimate Quest (UQ) is a framework for text-based computer games that allow the player to navigate the game's hero through a maze of rooms in search of keys and, ultimately, a treasure. When the hero enters the treasure room, he unlocks a treasure chest if he has gathered enough keys and wins the game. Otherwise the hero must backtrack in search of more keys.

In each room the hero encounters monsters that attack him. The hero defends himself against these monsters. As hero and monster characters exchange blows, their health deteriorates from an initial 100% down to 0%. When a character's health reaches 0%, the character dies. Rooms may also contain false doors. Attempting to open a false door also lowers the hero's health. Fortunately, some rooms contain health bowls that increase the hero's health if he picks them up.

Assume Zenith Game Corporation provides a library of digital characters modeled after the characters in Star Wars. Similarly, Character Forge, Inc. provides a library of digital characters modeled after the characters in Lord of the Rings. These and other libraries of characters should be integrated into UQ.

Create a design specification for UQ. Consider using the following patterns: Bridge, Builder, Adapter, Singleton, and Abstract Factory.

Create a simple prototype of a Star Wars game using UQ. Also create a simple prototype of a Lord of the Rings game using UQ.

You can find