Пример #1
0
 // Creates a blank board board -- Waits for LockNumbers()
 public bool NewGame(int size)
 {
     try
     {
         // Create a blank board
         _board       = BoardFactory.CreateBoard(size);
         _solvedBoard = null;
         return(true);
     }
     catch (UnsupportedBoardSize)
     {
         return(false);
     }
 }