예제 #1
0
 public void InvalidBoardDimension()
 {
     var board = TicTacToeGame.GenerateBoard(new Dimension(11));
 }
예제 #2
0
        public void EmptyBoardXMovesNext()
        {
            var board = TicTacToeGame.GenerateBoard(new Dimension(3));

            Assert.AreEqual(Shapes.X, board.NextMoveShape, "X should move next");
        }
예제 #3
0
 public Player(TicTacToeGame game, Marker playingMarker)
 {
     this.playingMarker = playingMarker;
     this.game          = game;
 }