Пример #1
0
 public void GivenIsTheTurnOfPlayerOne()
 {
     _domino = new DominoGame();
     _domino.AddPlayer(new Player(1));
     _domino.AddPlayer(new Player(2));
     _domino.InitializePlayersHand(7);
 }
Пример #2
0
        public void GivenANewGameWithACleanBoard()
        {
            _board = new Board();

            _game = new DominoGame();
            _game.AddPlayer(_player1);
            _game.AddPlayer(_player2);
        }
Пример #3
0
        public void GivenADominoGame()
        {
            _domino = new DominoGame();

            _domino.AddPlayer(new Player(1));
            _domino.AddPlayer(new Player(2));;

            _domino.GameBoard.AddTileToBoard(new Tile { Head = 6, Tail = 1 });
            _domino.GameBoard.AddTileToBoard(new Tile { Head = 1, Tail = 3 });
        }
Пример #4
0
 public void GivenANewGame()
 {
     _game = new DominoGame();
     _game.AddPlayer(_player1);
     _game.AddPlayer(_player2);
 }