Esempio n. 1
0
        private bool Completed()
        {
            if (Cache.SimpleCode.Count >= 8)
            {
                if (!printedSimpleValidation)
                {
                    ConsoleController.PrintCache(Cache.SimpleCode);
                    printedSimpleValidation = true;
                }
            }

            if (Cache.ExtensiveCode.Count == 8 && !printedExtensiveValidation)
            {
                ConsoleController.PrintCache(Cache.ExtensiveCode);
                printedExtensiveValidation = true;
            }
            return(printedExtensiveValidation && printedSimpleValidation ? true : false);
        }
Esempio n. 2
0
 static void Main(string[] args)
 {
     ConsoleController.Init();
 }