University of Washington, Bothell
CSS 482: Expert Systems
Winter 2009
Homeworks 6a & 6b: Intelligent Agents
Assigned: Thursday, November 18, 2010
Homework 6a Due: Sunday, November 28, 2010
Homework 6b Due: Friday, December 3, 2010
For this homework, you will be creating a JESS intelligent agent: an expert on making decisions to accomplish some specific task. In this case, the task is to navigate through the Wumpus World, picking up gold, avoiding dangers, and (possibly) shooting the Wumpus. As described in class, the Wumpus World is a 2D rectangular grid of locations, with each location possibly containing a pit, a Wumpus, gold, or a wall. Entering a location with a pit or Wumpus results in instant death. The goal of the game is to have your agent enter the Wumpus World, grab some gold, and get out. Here is an simple example of a Wumpus World configuration:
The overall system that you will be programming for is a client/server application that implements a multiplayer Wumpus World game. You will write your JESS program so that it uses provided classes to establish a network connection to the server and communicate with the server. The code you need (and all of documentation that is available) is in the jesswumpus directory (you can also download the contents of this directory as jesswumpus.zip). See jesswumpus/report.doc and jesswumpus/README.txt for documentation. You can choose between running the client as a Jess program that uses Java to communicate with the server or as a Java program that uses an embedded Jess Rete engine to provide player logic.
From a practical point of view, you will need to do the following:
Your goal for homework 6a is to create a player that can navigate safely through the Wumpus World, explore it thoroughly, and exit. You might want to start with a player that only reacts to local information and focus on reasoning about nearby locations to determine which are safe. There are a total of 100 points available in this assignment. You can get full credit if your player has the ability to wander around the Wumpus World with an arbitrary map and no Wumpus and can exit. Point breakdown:
The competition is for extra credit. In this case, scoring will be based not on the “standard” point system, but rather the formula:
| (1) |
Exiting the cave will be used as a tie-breaker. The top player will get 20 points, second place will get 10 points, and third place will get 5 points.
For homework 6b, you are asked to extend your player’s logic to include avoiding the Wumpus, killing the Wumpus, and gathering gold. You can get full credit if your player has the ability to wander around a Wumpus World with an arbitrary map and a fixed (i.e., not moving) Wumpus and can exit with at least some gold. Point breakdown:
The competition is for extra credit, with “standard” Wumpus World scoring. The top player will get 20 points, second place will get 10 points, and third place will get 5 points.