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 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.

Giovanni Colantonio
As Digital Trends' Senior Gaming Editor, Giovanni Colantonio oversees all things video games at Digital Trends. As a veteran…
Earth Defense Force 6 just removed its controversial requirement
The Diver class in Earth Defense Force 6.

While the response to Earth Defense Force 6, the latest in the gory sci-fi shooter series, has been generally positive, many PC users had complaints, specifically about how they were required to sign in with an Epic Games account to play online co-op.

The developers have good news for those players. On Thursday, developer Sandlot released a small update on Steam that removed that requirement. Now you can play online missions without the account. "This application has been modified so that you can play online missions without signing into your Epic Games Account," the post reads.

Read more
3 new Xbox Game Pass games you should play this weekend (October 4-6)
Sifu's main character at age 70 in Sifu.

Later this month, Xbox Game Pass Ultimate will receive its biggest day-one release ever with Call of Duty: Black Ops 6. Until then, we'll have to bide the time with other recently added Xbox Game Pass games. Thankfully, multiple games came to Microsoft's subscription service during Tokyo Game Show in September and one particular highlight just landed this week. If you're looking for something to play this weekend, these are the games you should be looking for on Xbox Game Pass.
Sifu
Sifu | Sloclap | Night Club Gameplay Teaser | PS4, PS5 & PC

Sloclap's Sifu is an intense action game with intricate hand-to-hand combat that feels like it could've been pulled right out of John Wick or a classic kung fu movie. It's incredibly satisfying for that reason alone, but Sifu's most unique hook happens when players die. With each death, players get a little more powerful but age up and lose a bit of health. This gives Sifu a one-of-a-kind difficulty curve because it gets easier and more difficult in different ways with each death. With lots of content and accessibility updates under its belt at this point, you'll have a fantastic time checking out the complete version of Sifu now if you've never played it before. Sifu is available to Game Pass subscribers across PC, Xbox One, Xbox Series X/S, and Xbox Cloud Gaming. It's also on PS4, PS5, and Nintendo Switch.
We Love Katamari Reroll+ Royal Reverie
We Love Katamari REROLL+ Royal Reverie - Xbox Game Pass Trailer

Read more
3 new PS Plus games you should play this weekend (October 4-6)
Ellie and Riley look at each other in The Last of Us Part 1's version of Left Behind.

It's October, so it's finally time to start watching more horror movies and playing more horror video games to get in a spooky mood. Thankfully, recent additions to PS Plus are making it very easy to settle into that vibe. On top of that, a wrestling video game has just hit PlayStation Plus Essential ahead of the last big WWE events of the year. All of that has informed my picks for the three games PS Plus subscribers should check out this weekend.
The Last of Us Part I
The Last of Us Part I - Announce Trailer | PS5 Games

At this point, The Last of Us is so iconic that it needs little introduction. It was a landmark horror video game that set new standards for video game narrative with its tale about Joel and Ellie. It was originally released for PS3 in 2013 and remastered for PS4 in 2014. The Last of Us Part I is a remake built for PS5. It gives the entire game a visual overhaul and adds accessibility features and an overall game feel to bring the adventure more in line with its 2020 sequel. If you haven’t played The Last of Us yet, you need to try it out now that the definitive version of it is on PS Plus.

Read more