Beispiel #1
0
 /// <summary>
 /// LabyrinthGame consturctor
 /// <remarks>
 /// Will initiate the console renderer and all other required classes
 /// </remarks>
 /// </summary>
 public LabyrinthGame()
 {
     this.Renderer  = new ConsoleRenderer();
     this.commander = new Commander();
     this.Scores    = ScoreBoardCreator.CreateScoreBoard();
     this.Player    = PlayerCreator.CreatePlayer();
     this.Maze      = this.InitMaze();
 }
Beispiel #2
0
        public void ScoreboardFactoryTest()
        {
            var score = ScoreBoardCreator.CreateScoreBoard();

            Assert.IsTrue(score is IScoreBoard);
        }