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();
        }
Esempio n. 3
0
 public Player(int player, Board board)
 {
     this.player = player;
     this.board = board;
 }
 public HumanPlayer(int player, Board board)
     : base(player, board)
 {
 }
Esempio n. 5
0
        public AIPlayer(int player, int moveLookAhead, Board board)
            : base(player, board)
        {
            this.moveLookAhead = moveLookAhead;

            CreateAIPlayer(board.Seed);
        }
Esempio n. 6
0
 public AIPlayer(int player, Board board)
     : base(player, board)
 {
     CreateAIPlayer(board.Seed);
 }