From 53291958e0cda68ed762c0dfb36c0602f876c06d Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sat, 21 Jul 2018 22:01:57 +0200 Subject: Add MCTS AI --- main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 9dfdfe9..993bfc3 100644 --- a/main.cpp +++ b/main.cpp @@ -4,12 +4,13 @@ #include "board.h" #include "ai_mc.h" #include "ai_mm.h" +#include "ai_mcts.h" #include "ai_rand.h" using namespace std; #ifndef AI_CHOICE -#define AI_CHOICE MC +#define AI_CHOICE MCTS #endif #define STR_(x) #x @@ -51,7 +52,7 @@ int main() { onturn = -onturn; } - int win; + int win = 0; string line; while (true) { -- cgit v1.2.3-54-g00ecf