public CardPositioner(BoardDimensions dimensions) { this.BoardDimensions = dimensions; CreateAvailabePositions(); }
public PlayBoard(BoardDimensions dimensions) { this.Dimensions = dimensions; Init(); }
public Dealer(IList <Card> deck, BoardDimensions dimensions) { this.Deck = deck; Rand = new Random(); Positioner = new CardPositioner(dimensions); }
public GameController(BoardDimensions dimensions) { Board = new PlayBoard(dimensions); Init(); }