public IBoard RightClick(int x, int y) { x--; y--; if (!Board.IsValidPosition(x, y)) { return(Board); } var tile = Board.GetTile(x, y); if (!tile.IsRevealed) { Board.ChangeFlag(x, y); } if (AreAllBombsFlagged()) { GameStatus = GameStatus.Win; } return(Board); }