Пример #1
0
        public ReplayPlayer(int currentPlayer, Board board, string log)
            : base(currentPlayer, board)
        {
            this.log = log;

            logReader = new LogReader(log, currentPlayer, board.Width, board.Height);;
        }
Пример #2
0
        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;
 }
Пример #4
0
 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);
 }