aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/moves.hpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/moves.hpp b/src/moves.hpp
index fae35b1..17a9d7d 100644
--- a/src/moves.hpp
+++ b/src/moves.hpp
@@ -14,6 +14,12 @@ struct Move {
Position To;
};
-void PlayMove(Move move, board *b); // TODO implement
+enum MoveResult {
+ SUCCES,
+ FRIENDLY_PIECE,
+ PIECE_IN_WAY,
+};
+
+MoveResult PlayMove(Move move, board *b); // TODO implement
#endif /* SRC_MOVES_H_ */