Example #1
0
 /// <summary>
 /// Retrieves a step-by-step solution from the solver for solving a puzzle.
 /// </summary>
 /// <param name="slvr"></param>
 private void OutputPuzzleSteps(SliderSolver slvr)
 {
     foreach (var move in slvr.GetAnswerMoves())
         richTextBoxOutput.AppendText(move + Environment.NewLine);
 }