From 2fe4352955042ef5415f6830d8c9d05d39159b7e Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 24 Feb 2021 09:50:58 +0100 Subject: added diewertje cpu solver --- voerbak/solvers.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 voerbak/solvers.c (limited to 'voerbak/solvers.c') 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 +#include + +#include "board.h" + +#include "diewertje.h" + +int cpuMove(Board* b, char* solver) { + if (strcmp(solver, "diewertje") == 0) return diewertje(b); + + return 0; +} -- cgit v1.2.3