int getState(int fn_num, int param)


Performs the state function with index fn_num. The caller must know how to work with this function. The valid parameters for a certain function may be discovered by calling getValidParams. The valid values for fn_num may be found by calling getNumStateFncs. In general, the state functions give information about the game board that are useful in generating evaluation functions for developing a playing strategy.