You are the tennis ball try to run away from the dog if the dog touches you then the game is over.
I got the idea from my brother's project (@zwilbur)