GPT-4 created a playable version of Pong in under 60 seconds

GPT-4 has only been around for a day, but users are already learning the power of the new AI tool. One user claimed that the bot created a working version of Pong from scratch within 60 seconds.

GPT-4 is the latest AI model from OpenAI, the research group behind ChatGPT. It’s a Large Language Model (LLM) trained on data up to 2021 that can understand prompts and respond to them in natural language. It’s currently only available to ChatGPT Plus subscribers, though the tech is already being used to power tools like Microsoft’s Bing Chat service. After a day of tooling around, users have discovered that the powerful tool is capable of generating fully working code for games.

Recommended Videos

Pietro Schirano, design lead at financial company Brex, tweeted that he was able to get GPT-4 to create a working version of Pong in under 60 seconds. To accomplish that, he didn’t need to say much. After telling the bot that he wanted to create a “Pong-like game,” it quickly spit out some basic HTML and JavaScript as an example. That code produced a fully working version of Pong, minus the scoreboard.

I don’t care that it’s not AGI, GPT-4 is an incredible and transformative technology.

I recreated the game of Pong in under 60 seconds.
It was my first try.

Things will never be the same. #gpt4 pic.twitter.com/8YMUK0UQmd

— Pietro Schirano (@skirano) March 14, 2023

That isn’t the only game GPT-4 has generated thus far. Schirano similarly was able to get a working version of Breakout through similar means, as well as a rudimentary clone of Asteroids. Others have shared AI-created versions of Snake, Connect 4, and more.

Though the feat is impressive, it does deepen some debates about AI’s potential role in game development. Earlier this month, a ChatGPT user got the bot to generate an “original” puzzle game called Sumplete. Digital Trends soon discovered that multiple versions of Sumplete already exist, raising questions about how it “invented” the game. More troubling, we were able to get ChatGPT to “plagiarize” its own code for Sumplete by simply asking for it to generate a game with the same name.

GPT-4’s ability to recreate existing games could put the AI model down a slippery slope moving forward. At what point does it gain the ability to output code for more complex games like Super Mario Bros.? Could that create a legal problem for OpenAI down the road? At the rate the tech is evolving, we may find out soon.

Editors' Recommendations

Giovanni is a writer and video producer focusing on happenings in the video game industry. He has contributed stories to…
The HP Victus gaming PC with RTX 3060 has a $550 discount

Gamers don't need to spend more than $1,000 if they want to buy a new gaming PC because there are affordable options like the HP Victus 15L gaming desktop. From its original price of $1,400, you can get it for just $850 as HP has applied a $550 discount on this machine. However, you shouldn't delay your purchase because there's no assurance that the gaming PC will still be 39% off tomorrow. If you want to make sure that you get it for less than $1,000, you're going to have to complete the transaction for it within the day.

Buy Now

Read more
Indiana Jones and the Great Circle: release date window, trailers, gameplay, and more

Grab your fedora, whip, and pistol because Indiana Jones and the Great Circle is plotting a course to consoles soon. After being announced via a small teaser in 2021, we're now finally starting to put the pieces together on the mystery that is this new title from MachineGames. While many very popular and successful games have been inspired by the Indiana Jones film franchise, including Uncharted and Tomb Raider, Indy himself has yet to star in a true action-adventure game worthy of his legacy. Will this game be the one to remind audiences who the true pioneer of set-piece action and globe-trotting puzzle-solving is? Only time will tell, but we can at least guess based on all the clues we've unearthed.
Release date window
Indiana Jones and the Great Circle will be released is scheduled for release sometime in 2024. Considering the slate of titles currently announced from first-party publishers, and how little we've seen of this game in comparison, we'd expect it to arrive in the last few months of the year. Of course, it could always slip into next year as well.
Platforms

Indiana Jones and the Great Circle, coming from Xbox-owned MachineGames, will be an Xbox console exclusive, but also be available on PC.
Trailers
Official Gameplay Reveal Trailer: Indiana Jones and the Great Circle

Read more
How to get to Monkey Island in Sea of Thieves

Over the course of its many years of updates and expansions, Sea of Thieves has had a few notable crossovers with other pirate franchises. The Pirates of the Caribbean crossover let you team up with the legendary Jack Sparrow, but the Monkey Island content felt like it came out of nowhere. For those unaware, Monkey Island is a series of pirate point-and-click games that were as funny as the puzzles were obscure. Thankfully, you don't have to intuit that you need to combine a cat whisker with a mason jar to bypass a skeleton guard to get to this new content, but it is more challenging than you might think.

Read more