aboutsummaryrefslogtreecommitdiff
path: root/src/board.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-09-14 04:25:14 +0300
committereug-vs <eugene@eug-vs.xyz>2022-09-14 04:25:14 +0300
commitefa8671eecdabcdccecde87c1d05acbc89295f49 (patch)
treef195b50fd97de340d3a594f953bde6dff04a691d /src/board.h
parentf7901374649cd76ac52a6c881c79dc8d64e00981 (diff)
downloadj1chess-efa8671eecdabcdccecde87c1d05acbc89295f49.tar.gz
feat: parse FEN to generate a board
Diffstat (limited to 'src/board.h')
-rw-r--r--src/board.h2
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);