Game Idea

So, "Stuck in a Loop" is an interesting idea. I have two ideas in my mind. The first idea is when I found a game on Steam called "Escape the Loop" where the player is stuck in a time loop, repeating its life over and over again for 5 minutes or when they die. The second idea is a game where the game revolves on programming, using the for and while loop and the player must find a solution to end that loop. In the end, I decided to go with the first idea with the game mechanic, restarting the game all over in every certain amount of time. Seems like Groundhog Day, but it's what I got.