예제 #1
0
 public CardPositioner(BoardDimensions dimensions)
 {
     this.BoardDimensions = dimensions;
     CreateAvailabePositions();
 }
예제 #2
0
 public PlayBoard(BoardDimensions dimensions)
 {
     this.Dimensions = dimensions;
     Init();
 }
예제 #3
0
 public Dealer(IList <Card> deck, BoardDimensions dimensions)
 {
     this.Deck  = deck;
     Rand       = new Random();
     Positioner = new CardPositioner(dimensions);
 }
예제 #4
0
 public GameController(BoardDimensions dimensions)
 {
     Board = new PlayBoard(dimensions);
     Init();
 }