예제 #1
0
 public Board(List <string> PlayersNames)
 {
     _Players = new List <Player>();
     foreach (string name in PlayersNames)
     {
         Player p = new Player(name);
         _Players.Add(p);
     }
     Dices.Attach(O_Dice);
     _currentplayerNum = 0;
 }
예제 #2
0
 public void Play()
 {
     Dices.Roll(this);
 }