summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-02-17 13:53:13 +0100
committertomsmeding <tom.smeding@gmail.com>2019-02-17 13:53:13 +0100
commit7c0fb5e9fa8c42220ad14a90c251f5b092ad52b6 (patch)
tree52c1a882f39a28782372568540cb695c4bcf67a2
parenteaf35926bcf0a91524ac717cb43b01b345fcf8bd (diff)
Improve mm{,2} performance: raise win/lose scores
-rw-r--r--ai_mm.cpp4
-rw-r--r--ai_mm2.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/ai_mm.cpp b/ai_mm.cpp
index d74f7c7..ba55690 100644
--- a/ai_mm.cpp
+++ b/ai_mm.cpp
@@ -6,8 +6,8 @@
using namespace std;
-#define SCORE_WIN 10
-#define SCORE_LOSE (-10)
+#define SCORE_WIN 10000
+#define SCORE_LOSE (-10000)
#define SCORE_TIE 0
#define INF (1e34)
diff --git a/ai_mm2.cpp b/ai_mm2.cpp
index 93b40b2..843a419 100644
--- a/ai_mm2.cpp
+++ b/ai_mm2.cpp
@@ -7,8 +7,8 @@
using namespace std;
-#define SCORE_WIN 10
-#define SCORE_LOSE (-10)
+#define SCORE_WIN 10000
+#define SCORE_LOSE (-10000)
#define SCORE_TIE 0
#define INF (1e34)