summaryrefslogtreecommitdiffstats
path: root/ai.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ai.hpp')
-rw-r--r--ai.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ai.hpp b/ai.hpp
index ec1f56b..3edaa60 100644
--- a/ai.hpp
+++ b/ai.hpp
@@ -11,9 +11,10 @@ public:
AI(int p, int d);
void GetBestMove(int &my, int &mx, GameField field);
+ void FirstMove(bool m) { first_move = m; }
private:
int score(GameField field);
- int MinMax(GameField field, int depth);
+ int MinMax(GameField field, int alpha, int beta, int depth);
};
#endif /* LPG_AI_H */