summaryrefslogtreecommitdiff
path: root/include/engine/evaluate.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/engine/evaluate.h')
-rw-r--r--include/engine/evaluate.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/engine/evaluate.h b/include/engine/evaluate.h
new file mode 100644
index 0000000..ecc6e60
--- /dev/null
+++ b/include/engine/evaluate.h
@@ -0,0 +1,10 @@
+#ifndef EVALUATE_H
+#define EVALUATE_H
+
+#include "bitboard.h"
+
+// static evaluation from the side-to-move's point of view.
+// positive == good for the side to move, negative == good for the opponent.
+i32 evaluate(position_t position);
+
+#endif // EVALUATE_H