Exemplo n.º 1
0
 protected Logic(Board.Data boardData, Vector2D[] homeSquares)
 {
     Board                = new Board(boardData);
     this.homeSquares     = homeSquares;
     availableColorFinder = new AvailableColorFinder(Board, homeSquares);
     turns                = new int[homeSquares.Length];
 }
Exemplo n.º 2
0
 internal TwoHumanNetworkGame(MessagingSession session, Board.Data boardData)
     : base(new TwoHumanLogic(boardData))
 {
     this.session = session;
     UpdateTurnText();
 }
Exemplo n.º 3
0
 protected TwoPlayerLogic(Board.Data boardData)
     : base(boardData, new[] { Vector2D.Zero, new Vector2D(boardData.Width - 1, boardData.Height - 1) }
            )
 {
 }
Exemplo n.º 4
0
 internal TwoHumanLogic(Board.Data boardData)
     : base(boardData)
 {
 }