Пример #1
0
        static void Main(string[] args)
        {
            string[,] TicTacToeBoard = new string[3, 3];

            GameEngine gameEngine = new GameEngine();
            GameVisualizer gameVisualizer = new GameVisualizer();
            GameManager gameManager = new GameManager(gameVisualizer, gameEngine);

            gameManager.StartGame(TicTacToeBoard);
        }
Пример #2
0
 public GameManager(GameVisualizer gameVisualizer, GameEngine gameEngine)
 {
     _gameVisualizer = gameVisualizer;
     _gameEngine = gameEngine;
 }