It seems AI is everywhere. It’s in our social media feeds. It’s in our television adverts. It’s in the posters for mega sales and eBay live streams. It’s even in the menus at your favorite local restaurant. And, of course, it’s in our video games. No, not just the programmed intelligence of enemies and NPCs, but now the creation of the code, art, and sound behind those games. Some titles use it for very specific purposes, while others have utilized it in much broader strokes.
There is this idea that, in order to create a game using AI tools, you type a few words into a prompt dialog and the LLM spits out the game. The best way to find out if this is actually the case is to try it and see what happens. To be fair, it is much easier to clone an existing game. The LLM can make assumptions about the general gameplay based on the existing product. That’s likely why so many AI-created games are clones of existing titles.

Neon Hopper Screenshot
So I decided that, for my grand experiment, I would clone the classic arcade game Frogger. I used Microsoft’s Copilot as the AI and built the project in VS Code. Here is my starting prompt:
Create a Frogger clone in HTML5 with a cyberpunk aesthetic
This gave me the basic layout of the game, with initial graphics, a cyber/TRON aesthetic, basic gameplay mechanics, and not much else. You can move the frog up through the traffic layer, across the logs, and into one of five “safehouses” at the top of the screen. You are given three lives to fill all five safehouses. If you fill all five, the run ends. If you lose all three lives, the run ends. That was about it.
One glaring issue was that the cars and logs were scrolling across the top of the HUD on the sides of the screen. The purpose of my first additional prompt was to fix this:
The car and log analogs show up above the HUD information on the side of the screen. Make them appear below the HUD information as they flow across the screen
This prompt properly placed the cars and logs under the HUD as they came on and exited the screen.
Next, the traffic was far too dense to ever safely cross the first part of the playfield. I attempted to fix that:
There are too many cars, making it extremely difficult to make it through.
This properly thinned out the cars, making it possible to cross safely.
Then, I noticed that when your frog died, there was no real acknowledgment. You simply disappeared and reappeared at the start point. We needed a pause to let players realize they were losing a life and restarting with a new one. Perhaps a death animation:
We need an animation for when the frog dies
A suitably TRON-esque player death marked the loss of a life. Much better. Next, I addressed the fact that your frog, instead of smoothly transitioning to its next spot on the playfield when you moved, would abruptly pop over. While you might not think it affects gameplay, smoother movement makes for a smoother gameplay experience.
Create a smooth animation and transition for the frog’s movement
Now the frog jumps from one spot to the next.
In the original game, your home spots at the top of the screen would occasionally be occupied by an alligator that would kill your frog if you landed on that home spot. We needed an analog for our game:
Create an enemy that shows up temporarily at random in the home spots
This gave us a red “glitch” that would randomly appear in one of the safehouses for a limited time. Land on it, and you lose a life.
The next gameplay element from the original game that I wanted to emulate was the diving turtles in the river section. Instead of creating a new item for the frog to land on, I decided to make certain logs glitch in and out of existence:
Make certain logs glitch in and out in a way similar to the submerging turtles of the original Frogger game
In the original, when you landed on turtles, you always knew there was a chance it would submerge. I needed a way to make sure that the player knew the log they were landing on might glitch out:
Make the glitching logs a slightly different color so the player is aware of the difference
When we got glitching logs, it became obvious that certain logs were overlapping other logs instead of simply butting up against them:
The logs can butt up against another log, but they should not overlap
This fixed the overlapping logs. Some logs had spaces between them, while others butted together, effectively making larger logs.
Along with the alligator, a tasty fly would also randomly appear in the home spots. How about an analog of that feature:
A bonus item should randomly appear temporarily in an unused home spot.

Neon Hopper Gameplay
This created a yellow bonus item that randomly appeared in an unoccupied safehouse.
The final gameplay feature that I wanted to implement was the female frog that would occasionally appear on the logs:
A female frog can randomly appear once per crossing on a row of logs
With the last gameplay feature completed, it was time to fix some design shortcomings. In the original game, each line of cars at the bottom of the screen would move at a different speed. Ours were all moving at the same speed:
Vary the speed of the lines of cars
Along with a uniform speed, the car spacing was also too uniform. This needed a level of random placement:
Vary the spacing between the cars
While Copilot believed it had completed the task, the spacing difference was minuscule and hardly noticeable. Try again:
There needs to be a greater variety of spacing for the cars
Much better. Looks much more random.
I realized that if you filled all five safehouses successfully, your run simply ended. I wanted it to continue for as long as you had lives to spare. Once you filled all of the safehouses, the board needed to reset without resetting the score of the number of lives:
If the player is able to fill all five safehouses successfully, reset the game board and allow them to continue playing, accumulating score, until they run out of lives
One last addition. Persistent players should be rewarded for exceptional play:
Give the player an extra life every 50000 points, but do not go beyond 3 lives
And that was that. I had a completed HTML5 Frogger clone, Neon Hopper. Far from “one prompt and go,” it required a number of iterations. If I were developing a wholly original game, I’d likely need much, much more prompting. That will be my next experiment.
If you want to try out my completed game, head over to the itch.io site I’ve set up for it. Enjoy!



You must be logged in to post a comment.