From 87514fc685ea45241dbb00471388638e0be1b229 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Tue, 13 Sep 2022 23:38:59 +0300 Subject: feat: add notations --- src/board.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/board.h') diff --git a/src/board.h b/src/board.h index 052e104..f7e89f2 100644 --- a/src/board.h +++ b/src/board.h @@ -27,3 +27,6 @@ static const char* pieces[] = { "♛", "♕", "♚", "♔", }; + +void index_to_notation(BYTE index, char notation[2]); +BYTE notation_to_index(char file, int rank); -- cgit v1.2.3