1.
to keep touching or moving sth :
She was playing with her hair.
Stop playing with your food!
2.
to use things in different ways to produce an interesting or humorous effect, or to see what effect they have :
In this poem Fitch plays with words which sound alike.
The composer plays with the exotic sounds of Japanese instruments.