nissy-fmc

A Rubik's cube FMC assistant
git clone https://git.tronto.net/nissy-fmc
Download | Log | Files | Refs | README | LICENSE

nissy.h (559B)


      1 /* TODO: find a better way to define this */
      2 #define TABLESFILESIZE 700000 /* 700Kb */
      3 
      4 /* Initialize nissy, to be called on startup */
      5 void nissy_init(char *);
      6 
      7 /* Test that nissy is responsive */
      8 void nissy_test(char *);
      9 
     10 /* Returns 0 on success, 1-based index of bad arg on failure */
     11 int nissy_solve(
     12 	char *step,  /* "eofb" */
     13 	char *trans, /* "uf" or similar */
     14 	int depth,   /* Number of moves */
     15 	char *type,  /* "normal" or "inverse" or "niss" */
     16 	char *scr,   /* The scramble */
     17 	char *sol    /* The solution, as a single string, \n-separated */
     18 );