not perfectly but as well as you are able
Idiom · informal
as best you can
1 movie clips of this phrase
Idioms
as luck would have it
in the way that chance decides what will happen