public static void MakeMove(C4Game game) { GameTree tree = new GameTree(game); tree.Expand(8); Move bestMove = tree.GetBestMove(); game.RecordMove(bestMove); }
public void NewGame() { //Game = new C4Game(C4GameSettings.PlayerCount, C4GameSettings.BoardWidth, C4GameSettings.BoardHeight); Game = new C4Game(2, 7, 6, 4); ClientSize = GetPreferedWindowSize(); Refresh(); RunComputerPlayers(); }