public ReplayPlayer(int currentPlayer, Board board, string log)
            : base(currentPlayer, board)
        {
            this.log = log;

            logReader = new LogReader(log, currentPlayer, board.Width, board.Height);;
        }
        public Connect4Form()
        {
            InitializeComponent();

            LoadImages();

            board = new Board(width, height, this);
            board.OnStart();
        }
示例#3
0
 public Player(int player, Board board)
 {
     this.player = player;
     this.board = board;
 }
 public HumanPlayer(int player, Board board)
     : base(player, board)
 {
 }
示例#5
0
        public AIPlayer(int player, int moveLookAhead, Board board)
            : base(player, board)
        {
            this.moveLookAhead = moveLookAhead;

            CreateAIPlayer(board.Seed);
        }
示例#6
0
 public AIPlayer(int player, Board board)
     : base(player, board)
 {
     CreateAIPlayer(board.Seed);
 }