add board_print, board_print_mask

This commit is contained in:
2024-03-02 07:10:23 +01:00
parent dc6ceb3407
commit a499893f32
9 changed files with 185 additions and 73 deletions

View File

@@ -23,6 +23,7 @@
#include "bitboard.h"
#include "piece.h"
#include "move.h"
#include "board.h"
typedef struct __pos_s {
u64 node_count; /* evaluated nodes */
@@ -97,6 +98,7 @@ extern void pos_del(pos_t *pos);
extern pos_t *pos_clear(pos_t *pos);
extern void pos_print(pos_t *pos);
extern void pos_print_mask(pos_t *pos, bitboard_t mask);
extern void pos_pieces_print(pos_t *pos);
extern void pos_print_board_raw(const pos_t *pos, int type);