#include #include // for sprintf (in a single place! grrr) #include // for strnlen, strncmp, and strcpy // NOTE: We assume that board_size matches TPS size. enum TPS_RESULT load_tps(tak_state_p state, char *in_tps); void generate_tps(tak_state_p state, char *out_tps);