private void InitializeApp()
        {
            ViewModelLocator locator = (ViewModelLocator) Application.Current.FindResource("Locator");
            if (locator == null)
                throw new NullReferenceException("There is no resource with name Locator and typeof(ViewModelLocator) in App.xaml.");

            GameController gameController = new GameController(locator);
            gameController.InitializeNewGame(CommandsCount);
        }
 public void GameControllerSetup(GameController gameController)
 {
     GameController = gameController;
 }