Example #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];
 }
Example #2
0
 internal TwoHumanNetworkGame(MessagingSession session, Board.Data boardData)
     : base(new TwoHumanLogic(boardData))
 {
     this.session = session;
     UpdateTurnText();
 }
Example #3
0
 protected TwoPlayerLogic(Board.Data boardData)
     : base(boardData, new[] { Vector2D.Zero, new Vector2D(boardData.Width - 1, boardData.Height - 1) }
            )
 {
 }
Example #4
0
 internal TwoHumanLogic(Board.Data boardData)
     : base(boardData)
 {
 }