public CGamePageViewModel(Guid gameId, EPieceColor mySideColor)
 {
     _gameId             = gameId;
     _mySideColor        = mySideColor;
     _gameManagerService = new GameManagerServiceClient(new InstanceContext(this));
     _gameManagerService.ConnectGameManager(gameId, CAuthenticationStaff.Instance.User.UserId);
     GameBoardContent = new BoardControl(gameId, mySideColor);
 }
 public CBoardControlPresenter(Guid gameId, EPieceColor mySideColor, BoardControl attachedBoard)
 {
     _gameId              = gameId;
     _attachedBoard       = attachedBoard;
     _virtualBoardService = new VirtualBoardServiceClient(new InstanceContext(this));
     _boardStates         = new CBoardOccupancy();
     _pieces              = new Dictionary <Int32, CPiece>();
     _attachedTiles       = new HashSet <CTile>();
     InitializeBoardView(mySideColor);
     _virtualBoardService.ConnectBoard(_gameId, CAuthenticationStaff.Instance.User.UserId);
 }