diff options
Diffstat (limited to 'voerbak/solvers.c')
-rw-r--r-- | voerbak/solvers.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/voerbak/solvers.c b/voerbak/solvers.c new file mode 100644 index 0000000..e3aab12 --- /dev/null +++ b/voerbak/solvers.c @@ -0,0 +1,12 @@ +#include <string.h> +#include <stdio.h> + +#include "board.h" + +#include "diewertje.h" + +int cpuMove(Board* b, char* solver) { + if (strcmp(solver, "diewertje") == 0) return diewertje(b); + + return 0; +} |