diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-29 20:11:40 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-29 20:11:40 +0200 |
| commit | d528a20684570fb70f0e6b13a78bc6504a1edd89 (patch) | |
| tree | b227cab63e05ce3f2063b2298fd8c553f1a90fe4 | |
| parent | 43a8816a7c56096d974689e42f7f6f110d28d408 (diff) | |
adding testing new folder structer
| -rw-r--r-- | src/board.cpp | 4 | ||||
| -rw-r--r-- | src/bot.cpp | 2 | ||||
| -rw-r--r-- | src/main.cpp | 2 | ||||
| -rw-r--r-- | src/zobrist/zobrist.cpp (renamed from src/zobrist.cpp) | 0 | ||||
| -rw-r--r-- | src/zobrist/zobrist.hpp (renamed from src/zobrist.hpp) | 0 |
5 files changed, 4 insertions, 4 deletions
diff --git a/src/board.cpp b/src/board.cpp index 0f33f17..43d30c0 100644 --- a/src/board.cpp +++ b/src/board.cpp @@ -1,6 +1,6 @@ #include "board.hpp" #include "moves.hpp" -#include "zobrist.hpp" +#include "zobrist/zobrist.hpp" #include <cassert> Piece createPiece(PieceType type, bool color) { @@ -188,7 +188,7 @@ UndoMove MakeMove(Move move, Game *g) { if (g->halfMoveClock >= 50) { g->state = DRAW; - } + } return undo; }; diff --git a/src/bot.cpp b/src/bot.cpp index 916a311..c5e7a3b 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -1,7 +1,7 @@ #include "bot.hpp" #include "board.hpp" #include "moves.hpp" -#include "zobrist.hpp" +#include "zobrist/zobrist.hpp" #include <algorithm> #include <cassert> #include <cmath> diff --git a/src/main.cpp b/src/main.cpp index 6a71d3e..36014b9 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,5 @@ #include "uci.hpp" -#include "zobrist.hpp" +#include "zobrist/zobrist.hpp" int main() { InitZobrist(); diff --git a/src/zobrist.cpp b/src/zobrist/zobrist.cpp index cfc7769..cfc7769 100644 --- a/src/zobrist.cpp +++ b/src/zobrist/zobrist.cpp diff --git a/src/zobrist.hpp b/src/zobrist/zobrist.hpp index 8de9d42..8de9d42 100644 --- a/src/zobrist.hpp +++ b/src/zobrist/zobrist.hpp |
