diff options
author | eug-vs <eugene@eug-vs.xyz> | 2022-08-19 16:26:19 +0300 |
---|---|---|
committer | eug-vs <eugene@eug-vs.xyz> | 2022-08-19 16:40:01 +0300 |
commit | 50430eb61a3056332ae31597729fba4f0cd26e5d (patch) | |
tree | 8a76ed66710518b844dd0fe5a6b1ac638b46b56b /src/structs.h | |
parent | de8f4f261f970f33f360662eb2dee0e03faaf301 (diff) | |
download | c-chess-50430eb61a3056332ae31597729fba4f0cd26e5d.tar.gz |
refactor: separate structure for Move
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h new file mode 100644 index 0000000..643e7f2 --- /dev/null +++ b/src/structs.h @@ -0,0 +1,6 @@ +typedef struct { + int origin; + int destination; + int value; // Estimated move value +} Move; + |