Frogger! Can AI build this iconic street-crossing game from a single prompt? Let's find out!
I just typed this detailed prompt into ChatGPT, asking for a simplified Frogger game.
I'm hyped to see if this actually runs...
The Prompt:
Develop a simplified Frogger-like game in HTML, CSS, and JavaScript. The player controls a green square 'frog' at the bottom of the screen, moving up, down, left, and right with arrow keys. Above the frog, there are several horizontal lanes. Some lanes contain moving 'cars' (red rectangles) moving left or right at different speeds. Other lanes are 'safe zones' (green background). The goal is for the frog to cross all dangerous lanes and reach a safe zone at the top of the screen without being hit by a car. If the frog gets hit, the game ends. Implement simple collision detection. No logs or water physics, just cars. Keep it visually simple. Provide all code in a single HTML file.