public void FindMoves(Tableau tableau)
 {
     PrepareToFindMoves(tableau);
     BasicMoveFinder.Find();
     SwapMoveFinder.Find();
     CompositeSinglePileMoveFinder.Find();
 }
 public StudyAlgorithm(Game game)
     : base(game)
 {
     BasicMoveFinder = new BasicMoveFinder(game);
     SwapMoveFinder  = new SwapMoveFinder(game);
     CompositeSinglePileMoveFinder = new CompositeSinglePileMoveFinder(game);
     ScoreCalculator = new ScoreCalculator(game);
 }
Exemple #3
0
 public StudyAlgorithm(Game game)
     : base(game)
 {
     BasicMoveFinder = new BasicMoveFinder(game);
     SwapMoveFinder = new SwapMoveFinder(game);
     CompositeSinglePileMoveFinder = new CompositeSinglePileMoveFinder(game);
     ScoreCalculator = new ScoreCalculator(game);
 }
 public SearchAlgorithm(Game game)
     : base(game)
 {
     BasicMoveFinder = new BasicMoveFinder(game);
     SwapMoveFinder = new SwapMoveFinder(game);
     SearchMoveFinder = new SearchMoveFinder(game);
     ScoreCalculator = new ScoreCalculator(game);
 }
 public SearchAlgorithm(Game game)
     : base(game)
 {
     BasicMoveFinder  = new BasicMoveFinder(game);
     SwapMoveFinder   = new SwapMoveFinder(game);
     SearchMoveFinder = new SearchMoveFinder(game);
     ScoreCalculator  = new ScoreCalculator(game);
 }
 public void FindMoves(Tableau tableau)
 {
     PrepareToFindMoves(tableau);
     BasicMoveFinder.Find();
     SwapMoveFinder.Find();
 }