Skip to main content

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.

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

— 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 Colantonio
Giovanni is a writer and video producer focusing on happenings in the video game industry. He has contributed stories to…
Three classic Grand Theft Auto games are coming to Netflix next month
Key art for GTA: The Trilogy on Netflix

Netflix and Rockstar Games revealed that Grand Theft Auto: The Trilogy - The Definitive Edition will come to the services game catalog in December.

Grand Theft Auto: The Trilogy - The Definitive Edition is a package that features remasters of Grand Theft Auto III, Grand Theft Auto: Vice City, and Grand Theft Auto: San Andreas. It was first released for PC and consoles in late 2021. Although the ports were derided for having a plethora of technical problems at launch, they have improved since then. Now, Netflix is making a major play by bringing these remastered GTA games to the service around the same time a Grand Theft Auto 6 trailer is expected to drop.

Read more
Nintendo Switch vs. PlayStation Portal: which portable device is best?
playstation portal review remote player vs switch oled

Handheld gaming has come back in a big way this past generation. Nintendo formerly held the crown as the king of the dedicated handheld market with its unfathomably successful DS line, which would eventually combine into a home console with the equally impressive Switch. PlayStation attempted to get into this market with the PSP and PS Vita but appeared to bow out of that competition when the latter failed to achieve much success. However, the new PlayStation Portal device could provide players with an alternative to Nintendo's aging system.

If you're debating between the Nintendo Switch and PlayStation Portal, here's a full breakdown of how the two devices stack up.
Nintendo Switch Vs. PlayStation Portal specs
When it comes to specs, let's start with the easy comparisons.

Read more
Best Buy deals: Save on laptops, TVs, appliances, and more
best buy shuts down insignia line smart home products store 2 768x768

One of the best places to shop for almost anything involving electronics says so right in its name: Best Buy. The retail giant has a ton of departments with some of today’s most popular devices, components, and appliances for sale. It also offers a lot of these at a discount, which is certainly what we’re seeing right now. Some of the best TV deals, best tablet deals, best laptop deals, and best phone deals can currently be found at Best Buy, and those are just the tip of the iceberg. We’ve tracked down all of the best deals you can shop at Best Buy right now, so read onward for some gift ideas for yourself or a loved one and for some great ways to save.
Best Buy TV deals

There may be no better place to purchase one of the best TVs than Best Buy. There is almost always some huge savings to find on TVs at Best Buy, and that’s certainly the case right now. You’ll find deals top TV brands like Sony, Samsung, and LG, and more budget-friendly brands like TCL and Hisense are in play, too.

Read more