diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-25 17:05:37 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-25 17:05:37 +0200 |
| commit | 1c6c1ed8ede9edf1860b1fbd5f2898b408689a05 (patch) | |
| tree | 16f4a60364a8e860f31808f647cf772df8c10480 /src/moves.hpp | |
| parent | f369620f9b57ed8a0fa6060294a962af680306db (diff) | |
adding code
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 8 |
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_ */ |
