summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-08-19 16:26:19 +0300
committereug-vs <eugene@eug-vs.xyz>2022-08-19 16:40:01 +0300
commit50430eb61a3056332ae31597729fba4f0cd26e5d (patch)
tree8a76ed66710518b844dd0fe5a6b1ac638b46b56b /src/structs.h
parentde8f4f261f970f33f360662eb2dee0e03faaf301 (diff)
downloadc-chess-50430eb61a3056332ae31597729fba4f0cd26e5d.tar.gz
refactor: separate structure for Move
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h6
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;
+