From a86664a49d3e148bd8d636c177d9f65bdb2c8dbd Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 10 Jun 2021 15:14:36 +0300 Subject: feat: read and apply user moves --- src/pieces.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/pieces.h') diff --git a/src/pieces.h b/src/pieces.h index 10d4eec..f8e50e7 100644 --- a/src/pieces.h +++ b/src/pieces.h @@ -22,3 +22,9 @@ char* pieces[] = { "♚", "♔", }; + +#define RANK_MASK 0b111000 +#define FILE_MASK 0b000111 + +#define ORIGIN_MASK 0b111111000000 +#define DESTINATION_MASK 0b000000111111 -- cgit v1.2.3