Esempio n. 1
0
        private static Board LoadGame()
        {
            Console.WriteLine("\nLoading...");

            List <string> listOfSavedGamesNames = DataBaseHandler.GetTheListOfSavedGames();

            if (listOfSavedGamesNames.Count == 0)
            {
                Console.WriteLine("\nSorry, There aren't Load Games...\n");
                return(CreateBoard(Colors.ChooseColor()));
            }

            return(ChooseTheSavedGame(listOfSavedGamesNames));
        }