README file for the Card Game (GUI version) for CDS Assignment 1 2013 v1.0 29/08/13 Running the GUI: It now comes up by default. To suppress the GUI, start with the -n option (which must always come first), i.e. java -ea CardGame -n -S 4 GUI startup, exit and animation control. It sleeps for CardGameEvent.GuiStartSleep = 2000 ms at startup and CardGameEvent.GuiEndSleep = 5000 ms when ended. These can be adjusted in CardGame.java before you start the simulation if desired. To step through the event one at a time, press Freeze quickly as the GUI comes up, then press Step for each event. Pressing Resume will enable animation to continue. The slider bar on right can be adjusted for longer sleep intervals between events (right for longer, left for shorter). Note that when the GUI is activated, the default sleep time is much larger than when not. Running on Other Platforms. Unpack the CardGame.zip zip file (which contains this file). The cleanest thing to do is unzip it in some directory, lets say its /path/to/unpacked/zipfile and set your the environments: export CLASSPATH="/path/to/unpacked/zipfile:$CLASSPATH" export CardGameImgDir=/path/to/unpacked/zipfile Note that on the ANU CS Linux system, these environments have already been set appropriately. Then you can compile and run CardGame.java from anywhere, provided your shell or IDE has these settings. The alternative would be to unpack it wherever you want to develop CardGame.java.