示例#1
0
        public Ludo()
        {
            board = new LudoBoard();
            //setVisible(visual);
            // this is where Adam does some UI stuff. Like add a menu and add the board to the center of the window

            play();
        }
 public RandomLudoPlayer(LudoBoard board)
 {
     this.board = board;
     rand       = new Random();
 }
 public ManualLudoPlayer(LudoBoard board)
 {
     this.board = board;
 }
示例#4
0
 public FifoLudoPlayer(LudoBoard bord)
 {
     this.board = bord;
 }
 public AggressiveLudoPlayer(LudoBoard board)
 {
     this.board = board;
     this.rand  = new Random();
 }
 public SemiSmartLudoPlayer(LudoBoard board)
 {
     this.board = board;
     rand       = new Random();
 }