public static void Main(string[] args) { var board = new PegBoard(); var solver = new PegBoardSolver(board); solver.Process(); }
public PegBoardSolver(PegBoard board, int winCap = DefaultWinCap) { this.random = new Random(); this.pegBoard = board; this.wins = new List <string>(); this.maxWins = winCap; this.stepsBuilder = new StringBuilder(); this.winBuilder = new StringBuilder(); this.IsRunning = false; }