Beispiel #1
0
 public static Sudoku GetSudoku(string groupName)
 {
     if (!Sudokus.ContainsKey(groupName))
     {
         Sudokus[groupName] = SudokuEngine.CreateSudoku(groupName);
     }
     return(Sudokus[groupName]);
 }
Beispiel #2
0
 public static Sudoku GetSolvedSudoku(string groupName)
 {
     if (!SolvedSudoku.ContainsKey(groupName))
     {
         SolvedSudoku[groupName] = SudokuEngine.Solve(groupName);
     }
     return(SolvedSudoku[groupName]);
 }