JESS and Quagents.

There is a good demo located at /u/cs242/jess_demo.
First load up the Quake II engine, and then open up a new terminal. The main file to run is DrunkenMasterII.clp. (Be careful of the final period in the cp code - it denotes your current directory).
> cp -r /u/cs242/jess_demo .
> setenv CLASSPATH ${PWD}:/u/cs242/jess
> /usr/staff/bin/java jess.Main DrunkenMasterII.clp

To understand what is going on, continue reading (shamelessly taken from the readme):

From the bottom up: There are several things to think about in the basic DrunkenMasterII code.