main module
Main script to carry out experiments with MCTS-NC project, i.e., matches of multiple games played by AIs (or human vs AI), using Monte Carlo Tree Search algorithm.
AIs can be instances of class MCTSNC
from mctsnc module representing the CUDA-based MCTS implementation,
or instances of class MCTS
from mcts module representing the standard CPU-based (single-threaded) implementation serving as reference;
or ``None``s for human players.
The following variables allow to define the settings of an experiment:
# main settings
STATE_CLASS = C4 # C4 or Gomoku
N_GAMES = 10
AI_A_SHORTNAME = None # human
AI_B_SHORTNAME = "mctsnc_5_inf_4_256_acp_prodigal"
REPRODUCE_EXPERIMENT = False
String names of predefined AI instances can be found in dictionary named AIS
.