diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-09-14 04:25:14 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-09-14 04:25:14 +0300 |
commit | efa8671eecdabcdccecde87c1d05acbc89295f49 (patch) | |
tree | f195b50fd97de340d3a594f953bde6dff04a691d /src/board.h | |
parent | f7901374649cd76ac52a6c881c79dc8d64e00981 (diff) | |
download | j1chess-efa8671eecdabcdccecde87c1d05acbc89295f49.tar.gz |
feat: parse FEN to generate a board
Diffstat (limited to 'src/board.h')
-rw-r--r-- | src/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/board.h b/src/board.h index 154878c..c9d8153 100644 --- a/src/board.h +++ b/src/board.h @@ -58,3 +58,5 @@ static const char* pieces[] = { void precompute_knight_attack_table(); void print_bitboard(Bitboard bb); int pop_count(Bitboard bb); +void print_board(Board board); +Board parse_FEN(char* FEN); |