public Strategist(Chessboard board, Evaluator evaluator, Syzygy tableReader, Stopwatch watch) { this.board = board; this.evaluator = evaluator; this.ruler = new Ruler(board); this.tableReader = tableReader; this.watch = watch; }
static void Init() { // Dependencies injection board = new Chessboard(); Syzygy tableReader = new Syzygy(board, "data"); Evaluator evaluator = new Evaluator(board); watch = new Stopwatch(); strategist = new Strategist(board, evaluator, tableReader, watch); }