From ad04f16e478357633c08174e844c8756f7892a32 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 17 Aug 2026 15:22:37 +0200 Subject: refactor(board): refactoring move generation code into better and nice way + adding debug command moves --- src/board/board.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/board/board.hpp') diff --git a/src/board/board.hpp b/src/board/board.hpp index e3692f6..a2c4e1f 100644 --- a/src/board/board.hpp +++ b/src/board/board.hpp @@ -108,6 +108,6 @@ int PositionToIndex(Position i); Undo MakeMove(uint16_t move, Game *g); void UndoMove(Undo undo, Game *g); -Position FindKing(Game *g, bool color); +Position FindKing(const Game &g, bool color); void UpdateHelpers(Game *g); #endif /* SRC_BOARD_H_ */ -- cgit v1.2.3