Making an object-oriented Wumpus Hunt. - Hunt the Wumpus is a classic text based game (see Wikipedia). This lab considers a similar, simple game.
- Your starting point for this lab is the code at:
- Alter this program so that there are two Wumpuses (Wumpusii?) to hunt.
- Alter this program so that it is object-oriented, while still performing the same task.
Hints: - Consider making classes for the player, the Wumpus and the board.
- Make a class that the player and the Wumpus inherit from.
- Consider how objects make it easier to have more than one Wumpus.
- Add a "Bumpus" to the game - a Bumpus will move like a Wumpus, but will also kill a Wumpus if it is next to one.
|