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>2026-08-28 19:37:41 +0100
commitf33d6fc3b09ade5b57b9438b54519e36e4261362 (patch)
treeb8b3fa9d45e73cd10121bac7faa05459c47df28c /include/ct1975.h
parent91640db661fdcc04960d1f048ac60c2c4b2c5319 (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));