diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2018-07-21 22:01:57 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2018-07-21 22:01:57 +0200 |
commit | 53291958e0cda68ed762c0dfb36c0602f876c06d (patch) | |
tree | 1a1ed725c0c4a993c41bc25ace5484a032764cb9 /main.cpp | |
parent | d7828673e787afc76913ede36fed78ba6a179470 (diff) |
Add MCTS AI
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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) { |