Example #1
0
 public void SetupMover()
 {
     dice = new Dice();
     banker = new Banker();
     board = new Board(banker, dice);
     mover = new Mover(dice, banker, board);
     Car = new Player("Car");
 }
Example #2
0
 public Gameplay(Dice dice, Mover mover, List<Player> turnOrder)
 {
     this.dice = dice;
     this.mover = mover;
     currentPlayersTurn = 0;
     turns = new List<Player>();
     this.turnOrder = turnOrder;
 }
Example #3
0
 public Game(Dice dice)
 {
     players = new List<Player>();
     turnOrder = new List<Player>();
     dummyPlayerList = new List<Player>();
     random = new Random();
     banker = new Banker();
     this.dice = dice;
     board = new Board(banker, dice);
     mover = new Mover(dice, banker, board);
     proprietor = new Proprietor(banker);
     gameplay = new Gameplay(dice, mover, turnOrder);
 }