Homework 1 - Spring 2003 Due date : February 10, 2pm Goals: The purpose of this assignment is to make you understand how the wumpus world simulator works. You have to build a reflex agent with state as in Fig. 2.10 of the Russel and Norvig textbook. The wumpus world simulator: The wumpus world simulator is installed on dali.ai.uic.edu and each of you will be provided with an account on the server (please email piotr@cs.uic.edu with your preferred email address to get the account as soon as possible!.) Read through the brief documentation of the simulator at http://dali.ai.uic.edu/AI2/wumpus/ and also the code installed in /usr/lib/wumpus/ on dali. You will be provided with a skeleton code and you will only need to modify the MyPlayer.cc file to build your agent. IMPORTANT: All the homeworks build on the previous ones. Therefore the code design should allow for proper incremental development. Once you write your C++ code, run the 'make' command and build the 'wumpus' executable. If you have access to a Unix workstation running X server, redirect your display environment on dali to display the graphical window on your client. Otherwise the program will provide a text output. Also dali.ai.uic.edu allows only secure connections. If you are using a linux box connect using SSH client (ssh username@domain) or download the windows client from www.ssh.com for a windows machine. Assignment * Read through the documentation, understand the basics of how the simulator works. * Implement a STATE class to hold the required information about the agent (location, arrows, gold etc.) and information gained about the current wumpus world. * Implement a UPDATESTATE procedure that updates this state information based on the percepts received. * Implement a procedure CHOOSEACTION that returns an action based on the state information and the condition-action rules. * Submit all your sources and makefile in a single .zip or .tar.gz file to piotr@cs.uic.