bugfix: NegaMax function got the board as reference

This commit is contained in:
rektdie committed 2024-04-30 00:22:32 +02:00
1 parent 9c63c5787d
commit 0638d8c899
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#pragma once
#include "board.h"
int NegaMax(Board &board, int depth);
int NegaMax(Board board, int depth);
Move NegaMaxHandler(Board &board, int depth);
void SearchPosition(Board &board, int depth);