aboutsummaryrefslogtreecommitdiff
path: root/include/ct1975.h
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2021-01-12 19:32:40 -0500
committertslil <tslil@posteo.de>2021-01-12 19:32:40 -0500
commit0feeb0e9f9abc0c7d0ea0324bb3be73e0be371b2 (patch)
treeb8b3fa9d45e73cd10121bac7faa05459c47df28c /include/ct1975.h
parentb0aa6291ce964ad6b84130e7c9f970da75884f99 (diff)
Closing in!
Diffstat (limited to 'include/ct1975.h')
-rw-r--r--include/ct1975.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/include/ct1975.h b/include/ct1975.h
index 79c20d2..a1e2be3 100644
--- a/include/ct1975.h
+++ b/include/ct1975.h
@@ -3,4 +3,13 @@
#include "weights.h"
float
-evaluate_black_win(void);
+ct1975_evaluate_black_win(void);
+
+extern char ct1975_ptn[9];
+extern float ct1975_optimal;
+
+// Generate PTN of the ````best'''' action and store it in ct1975_ptn,
+// along with its evaluation in ct1975_optimal. The display_progress
+// argument is a call-back, called on every new square.
+void
+ct1975_generate_ptn(void display_progress(void));