aboutsummaryrefslogtreecommitdiff
path: root/src/board.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-09-13 23:38:59 +0300
committereug-vs <eugene@eug-vs.xyz>2022-09-13 23:38:59 +0300
commit87514fc685ea45241dbb00471388638e0be1b229 (patch)
tree38fbc12f1ad1aa982703b6af429a6c933f0c1f0d /src/board.h
parentb8bb4d08ef489bc81e9c00ae43d19c3795e22072 (diff)
downloadj1chess-87514fc685ea45241dbb00471388638e0be1b229.tar.gz
feat: add notations
Diffstat (limited to 'src/board.h')
-rw-r--r--src/board.h3
1 files changed, 3 insertions, 0 deletions
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);