aboutsummaryrefslogtreecommitdiff
path: root/src/bot.hpp
blob: a8375e10a7d27f9261ab1c30d6daea38ee3f7027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef SRC_BOT_H_
#define SRC_BOT_H_

#include "board/board.hpp"
#include <vector>
Move EngineGetBestMove(Game *b, int depth);

int EvaluateBoardForWhite(Game *b);

int minimax(int depth, Game *b, float alpha, float beta);
int ScoreMove(const Game *board, const Move &move);
std::vector<Move> GetSortedLegalMoves(Game *g, bool generateQuietMoves = true);
#endif /* SRC_BOT_H_ */