Compiling an Ascape program

running
Cygwin doesn't provide its own Java machine, so you will need to run the program from the Windows side. You have a DOS batch file for running the program, pdrun.bat. The batch file will almost certainly need modification: there are two lines specifying the location of Ascape and the Java executable. Open the file in the text editor of your choosing and modify those lines accordingly. [On the machines `round here, you can find most of the path to the Java executable in the Java section of the Windows control panel. Or, use Start|Find to search for java.exe]

Then, from the Start menu's run line, run cmd to get a good ol' command prompt. You will need to switch to the appropriate directory with cd c:\cygwin\home\... or cd c:\temp\. In DOS-land, directories are separated by backward slashes, while in UNIX-land they're separated by forward slashes; it's just a bit of humor from the DOS people to see how often even the most experienced users screw it up. Tab-completion now works in DOS.

When you're in the right directory, just type pdrun and watch it go. Select the Prisoner's delimma game.

When you're sick of watching, go back to the DOS box and hit <ctrl>-C.

compilation
The recompile script will do the compilation for you. It should run without modification. From the cygwin prompt, just type ./pdcompile and watch it go.

I suggest that for your first go `round, change the latticeWidth in Ascape/src/edu/brook/pd/PD2D.java, so that you can immediately see if the compilation was successful.