Getting Started With Project 1 : Software Agent CIS 32 Download

• Eclipse (Download now: Eclipse SDK 3.2.2) • http://www.eclipse.org/downloads/ • Lunar Lander Code • http://www.sci.brooklyn.cuny.edu/~chipp/cis32/proj1/ LunarLander.zip UnZip/Tar Eclipse

• Just Double Click on the Eclipse Executable

• It will ask you for a “workspace” - just choose ok (click on the Set as Default to avoid having to choose this in the future) • A “workspace” is where Eclipse wants you to put your project files. You are not required to use it and you can choose to point to source code anywhere on your system. UnZip LunarLander.zip

• Put this in a safe place (could you be your Eclipse “workspace” folder, but not necessary). • Inside you’ll find: • . files. These are the source files. There is one .java file for every Java Class in the project • .class files. There are the “compiled” java binaries. They will be automatically replace everytime you “Build” your Lunar Lander Project. • .au files. These are the audio files for the Game sound effects. • . files. Since Lunar Lander is an meant to run in a web-page, you will find these in your directory. Don’t worry about them. In Eclipse: New > Project • Choose Java Project • Click Next • Name your project • Browse... to the LunarLander Source • If there is nothing listed here, you must got to SUN’s website and get Java 1.5 • http://ja va.sun.com/javase/downloads/index_jdk5.jsp • Click FINISH • Expand the Arrows to see the source tree.

• We need to configure the Run Settings: Click on the Green > “Run...” Double Click on Java Applet Change the Width and Height to... If you have this error, click on Search... This should come up by default.

Click OK

Then, Finally click RUN Now your playing the game.

Choose different Agent Pilots (they are all Random right now) Edit the action() function in the ReflexAgent.java to begin building your agent. Design a Feature Vector Based upon the Percepts and Actions for the Agent. (SEE the PAPER at the bottom of the Project 1 Description Web-Page for Ideas)