RUNNING THE PROGRAMS



PREPROCESSOR

Compilation Instructions


Running Instructions


The preprocessor takes a dictionary contained in the file filename, and outputs a preprocessed dictionary named upwords.dict
 

UPWORDS

Compilation Instructions


Tournament Running Instructions


The string state specifies the game state that the program is set to analyze.  The Upwords program will output the new state to stdout.
 

Interactive Running Mode


This mode instructs the program to run in interactive mode, where input will be read in from stdin rather than the command line.  The program will prompt the user to enter a state string that has the same meaning as before, however, now the user will be able to interactively update the board configuration even further.  The program will provide the user will directions of how to do so.  As before, the Upwords program will output the new state to stdout.
 

Testing Running Instructions

This mode reads in state information from stdin.  The second method of running supplied immediately above is a easy way to redirect stdin to point to state information stored in the file filename.  This is a very simple and straightforward method used to test the program because it frees one from having to type in the state information in at the command line every single time.