diff options
| author | eug-vs <eugene@eug-vs.xyz> | 2022-09-13 23:38:59 +0300 |
|---|---|---|
| committer | eug-vs <eugene@eug-vs.xyz> | 2022-09-13 23:38:59 +0300 |
| commit | 87514fc685ea45241dbb00471388638e0be1b229 (patch) | |
| tree | 38fbc12f1ad1aa982703b6af429a6c933f0c1f0d /src/board.h | |
| parent | b8bb4d08ef489bc81e9c00ae43d19c3795e22072 (diff) | |
| download | j1chess-87514fc685ea45241dbb00471388638e0be1b229.tar.gz | |
feat: add notations
Diffstat (limited to 'src/board.h')
| -rw-r--r-- | src/board.h | 3 |
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); |