Both are excellent sentences.
In #1, "playing games" is a noun that names the thing that interests the parents. There is no room for confusion so this is, in most situations, the better sentence.
In #2, "to play games" acts as an adverb to modify "interested". Though the meaning is clear, this sentence is less useful than #1. There are rare situations where #2 will actually a better sentence than #1, so I'll explain the difference in meaning.
Grammatically, infinitives (like "to play") and present participles (like "playing") play similar roles. However, their meanings and uses are different. The difference is that participles are descriptive and have flexible meanings that make them ideal for casual conversation or story telling. By contrast, infinitives are precise with inflexible meanings, making them ideal for careful accurate writing and speech.
So, although #2 is a good sentence I would be unlikely to use it because there is rarely a need for precision in such a situation. I would use #2, though, if I wanted to make a precise point that playing games is the specific thing that my parents want to do. They are not interested in swimming! They are not interested in a walk! They only want one thing! They are interested only to play games! Saying it that way hammers the importance of that precise choice so #2 would work.