Add pos negamax function

This commit is contained in:
2023-07-07 15:53:26 +02:00
parent 531bfa4fb0
commit 7952a34c88
5 changed files with 102 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ typedef unsigned char move_flags_t;
typedef struct move_s {
piece_t piece;
square_t from, to;
piece_t taken; /* captured piece */
piece_t capture; /* captured piece */
piece_t promotion; /* promoted piece */
move_flags_t flags;
struct list_head list; /* next move */