This is Hide and Seek, a platformer. The hider is green and the seeker is red. The hider has 10 seconds to hide at the beginning (but can still move afterwards), as long as the seeker can look away. Then the seeker can search for the hider and has 30 seconds. He has to touch the hider for it.
If the hider stops moving, this should be noted in the comments.