Beispiel #1
0
        static void Main()
        {
            AllWords.GetInstance();

            var lines      = File.ReadAllText($@"{_directory}\ccImport.txt");
            var useNewCode = true;

            var solvedPuzzle = (useNewCode ? new PuzzleSolver(PuzzleImporter.ConvertOldToNew(lines)) : new PuzzleSolver(lines)).SolveCodeCracker();

            solvedPuzzle.CreateHtmlResults(_directory);
            solvedPuzzle.CreateTextFileResults(_directory);
        }
Beispiel #2
0
 public Startup(IConfiguration configuration)
 {
     AllWords.GetInstance();
     Configuration = configuration;
 }