Here's an example of a simple game that meets your requirements:
Robo Escape
In this game, you control the player using arrow keys on your smartphone. The objective is to avoid the robots represented by red squares for 6 minutes. If the player collides with any of the robots, a "Game Over" message is displayed using the `alert` function. If the player survives for 6 minutes, a "Congratulations" message is displayed.
Please note that this is a very basic implementation and can be further improved with better graphics, additional gameplay elements, and more interactive features based on your specific requirements.