Пример #1
0
        public GameState InitializeGame()
        {
            BoardState boardState = BoardFactory.Standard();

            return(GameFactory.NewGame(boardState, serviceProvider));
        }
Пример #2
0
 public void StartGame(string gameName, GameConfig config = null, IPlayerRepository repo = null)
 {
     _game = GameFactory.Create(gameName, _players, repo, config, "");
 }