blob: 0b757c9f4659dcafc16dcb69dea8db27314927a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef LPG_AI_H
#define LPG_AI_H
class GameField;
class AI {
int player;
int max_depth;
bool first_move;
public:
AI(int p, int d);
void GetBestMove(int &my, int &mx, GameField field);
private:
int score(GameField field);
int min(GameField field, int depth);
int max(GameField field, int depth);
};
#endif /* LPG_AI_H */
|