1 2 3 4 5 6 7 8 9 10 11
#include <tak.h> #include <string.h> // for strnlen, strncmp, and strcpy #include <stdio.h> // for sprintf (in a single place! grrr) // NOTE: We assume that board_size matches TPS size. enum TPS_RESULT load_tps(char* in_tps); void generate_tps(char *out_tps);