summaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 7618916..07e63d3 100644
--- a/include/types.h
+++ b/include/types.h
@@ -7,6 +7,11 @@ typedef enum {WHITE, BLACK} Color;
typedef enum {PAWN, ROCK, KNIGHT, BISHOP, QUEEN, KING} PieceType;
typedef struct {
+ char row;
+ char col;
+} Coord;
+
+typedef struct {
Color color;
PieceType type;
} Piece;
nihil fit ex nihilo