summaryrefslogtreecommitdiffstats
path: root/ai.hpp
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-02-20 16:29:21 +0000
committerJoursoir <chat@joursoir.net>2021-02-20 16:29:21 +0000
commit6a0fc4c8c53f539cf0779ec750b0282db74c63d1 (patch)
treea135dc8233f2ef940a91e4f1ca8eebceb779cf67 /ai.hpp
parent9a668c78bed7197e0b349d4bd2908a67bedd295f (diff)
downloadlp-gomoku-6a0fc4c8c53f539cf0779ec750b0282db74c63d1.tar.gz
lp-gomoku-6a0fc4c8c53f539cf0779ec750b0282db74c63d1.tar.bz2
lp-gomoku-6a0fc4c8c53f539cf0779ec750b0282db74c63d1.zip
min() and max() -> MinMax()
Diffstat (limited to 'ai.hpp')
-rw-r--r--ai.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ai.hpp b/ai.hpp
index 0b757c9..ec1f56b 100644
--- a/ai.hpp
+++ b/ai.hpp
@@ -13,8 +13,7 @@ public:
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);
+ int MinMax(GameField field, int depth);
};
#endif /* LPG_AI_H */