User Tools

Site Tools


hunt_the_wumpus

This is an old revision of the document!


Hunt the Wumpus

The code here has a fairly complete user interface that has a 3D Dodectrahedron (You need red-blue 3d glasses).

The Wumpus controller/UI class is set up to run without the Room class in the given starter code. To fully implement the game, you need to make a Room class that can be filled with bats, pits and a smelly wumpus. Once you have a Room class, you will need to look for todo in the code that has to do with the Rooms. A Room needs to be able to report if it has:

  1. gold
  2. a bottomless pit
  3. bats that transport the player to a random room
  4. a deadly Wumpus that will eat the player

You would also need to a write a method in the Wumpus class (the controller class) that will randomly place these hazards in the 20 Rooms.

The UI (User Interface) demonstrates rotation around axes controlled by a click and drag.

For a complete description of this classic game see the Wikipeadia article

hunt_the_wumpus.1586616877.txt.gz · Last modified: 2020/04/11 10:54 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki