Splitting 'search.c' and 1 others

This commit is contained in:
2024-07-29 08:11:41 +02:00
parent a6a21626c7
commit 3fb0c92653
2 changed files with 0 additions and 0 deletions

25
src/perft.h Normal file
View File

@@ -0,0 +1,25 @@
/* search.h - search for perfect move.
*
* Copyright (C) 2021-2024 Bruno Raoult ("br")
* Licensed under the GNU General Public License v3.0 or later.
* Some rights reserved. See COPYING.
*
* You should have received a copy of the GNU General Public License along with this
* program. If not, see <https://www.gnu.org/licenses/gpl-3.0-standalone.html>.
*
* SPDX-License-Identifier: GPL-3.0-or-later <https://spdx.org/licenses/GPL-3.0-or-later.html>
*
*/
#ifndef SEARCH_H
#define SEARCH_H
#include "position.h"
//eval_t negamax(pos_t *pos, int depth, int color);
//eval_t pvs(pos_t *pos, int depth, int alpha, int beta, int color);
u64 perft(pos_t *pos, int depth, int ply, bool output);
u64 perft_alt(pos_t *pos, int depth, int ply, bool output);
#endif /* SEARCH_H */