Ejemplo n.º 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);;
        }
Ejemplo n.º 2
0
        public Connect4Form()
        {
            InitializeComponent();

            LoadImages();

            board = new Board(width, height, this);
            board.OnStart();
        }
Ejemplo n.º 3
0
 public Player(int player, Board board)
 {
     this.player = player;
     this.board = board;
 }
Ejemplo n.º 4
0
 public HumanPlayer(int player, Board board)
     : base(player, board)
 {
 }
Ejemplo n.º 5
0
        public AIPlayer(int player, int moveLookAhead, Board board)
            : base(player, board)
        {
            this.moveLookAhead = moveLookAhead;

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