This is a kids’ book in which a boy(?) who lives on an old vineyard (or maybe he is trying to win the vineyard from the devil?) is challenged by the devil to perform several seemingly impossible tasks. One involves trying to untangle grape vines. One involves surrounding something with an egg (the boy uses the yolk to draw around the thing). The boy bests the devil and wins the vineyard (maybe) and the devil is pretty upset. Also, I am 43 and had this book when I was a kid, so I’d guess that it is at least 35 years old.
Try this one: How the Devil Gets his Due, by Harold Berson.