public void ExpectPrintLineMethodToWorkCorrectlyWithFrame()
        {
            var frame = new Frame(new ITile[3, 3]);

            var printer = new Printer();
            printer.PrintLine(frame);
        }
        /// <summary>
        /// The main method of the Console UI of the game.
        /// </summary>
        public static void Main()
        {
            var printer = new Printer();

            var reader = new Reader();

            var gameInitializator = new GameInitializer.GameInitializer(printer, reader);

            var game = gameInitializator.Initialize();

            var scoreboard = new Scoreboard();

            var commandManager = new CommandManager();

            var boardHistory = new BoardHistory();

            EngineTemplate engine = new Engine.Engine(game, scoreboard, printer, reader, commandManager, boardHistory);

            engine.Run();
        }
 public void ExpectSetCursorBottomBoardToInvokeConsoleSetCursorPositionAndThrow()
 {
     var printer = new Printer();
     printer.SetCursorBottomBoard();
 }
 public void ExpectClearMessagesToInvokeConsoleSetCursorPositionAndThrow()
 {
     var printer = new Printer();
     printer.ClearMessages();
 }
 public void ExpectClearBoardToInvokeConsoleSClearAndThrow()
 {
     var printer = new Printer();
     printer.ClearBoard();
 }
 public void ExpectToThrowWhenNoReaderIsProvided()
 {
     var printer = new Printer();
     var gameInitializer = new GameInitializer(printer, null);
 }
 public void ExpectNotToThrowWhenPrinterAndReaderAreProvided()
 {
     var printer = new Printer();
     var reader = new Reader();
     var gameInitializer = new GameInitializer(printer, reader);
 }