Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
Object-Oriented Programming (CITS2210) - Lab 2
Computer Science & Software Engineering
Object-Oriented Programming (CITS2210) - Lab 2
    |   |   |   | 

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.

CRICOS Provider Code: 00126G