In the legend of zelda majoras mask the moon looks like that moon in the gif, and you have three days to stop it or armegeddon happens and everyone dies... BUT.. the Ocarina of time link got in the legend of zelda ocarina of time allows him to play the song of time and go back in time to the start of the three days again so he gets plenty of time to prepare so he's not screwed over, BUT... you do have to do alot of things within those 3 days each time so you can get through the temples and things...
TL;DR Play The legend of Zelda Majoras mask.