Computer Science 315
Artificial Intelligence

Assignment 0

Ground Control to Major Tom
Ground Control to Major Tom
Take your protein pills and put your helmet on


David Bowie, "A Space Oddity" (1969)

Due Monday, 10 September

Reading Assignment: None

Programming Assignment: Play with Quagents

The purpose of this ungraded assignment is to make sure you can run the Quagents package from your Linux account. First, download quagent_client.py, quagtest.py. Then, at your Linux prompt, type
  unzip quagent_client.zip
  python quagtest.py
The Quake game window should pop up, followed a few seconds later by the appearance of an agent (bot / enemy soldier). The agent should run out and back, and then die. Note that if you move the mouse cursor into the game window, the window traps the cursor. Holding down the shift key will allow you to move cursor back outside the window. The proper way to exit the game is to hit ESCAPE,use the arrow keys to get to QUIT, and then reply y (for yes) at the final screen. Or you can just close the window.

If you want to experiment with the QuagentClient class, here is a link to the API, showing you what methods are available. Note that, because of the asynchronous client/server communications being used, a slight delay is necessary between actions.

Please email me if you have any trouble.