public PlayDomino(IDominoGame myDominoGame,IStock stock,int numberOfPlayers) { _myDomino = myDominoGame; _stock = stock; _stock.Shuffle(15); _myDomino.InitializePlayers(numberOfPlayers); _myDomino.InitializeTurns(); _currentPlayer= _myDomino.GetPlayerAtTurn(_myDomino.PlayerTurn); }
public PlayDomino(int numberOfPlayers) { _myDomino=new DominoGame(); _stock=new Stock(); _stock.Shuffle(15); _myDomino.InitializePlayers(numberOfPlayers); _myDomino.InitializeTurns(); _currentPlayer = _myDomino.GetPlayerAtTurn(_myDomino.PlayerTurn); }