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.

https://twitter.com/skirano/status/1635736107949195278

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
Giovanni is a writer and video producer focusing on happenings in the video game industry. He has contributed stories to…
Ubisoft confirms Assassin’s Creed remakes are in the works
Basim perched on a ledge overlooking Baghdad

In a company interview with CEO Yves Guillemot posted on the Ubisoft website Thursday, the executive reveals that there are remakes of Assassin's Creed games in the works, although he doesn't specify which ones.

"Players can be excited about some remakes, which will allow us to revisit some of the games we've created in the past and modernize them," he says, implying that it could pertain to games made before Odyssey. "There are worlds in some of our older Assassin's Creed games that are still extremely rich."

Read more
Surfaced patent shows what an Xbox streaming console would’ve looked like
An Xbox Series X sits next to both Series S models.

There have been a few Xbox devices that have never come to fruition, one of which was Keystone, a prototype for an affordable game streaming device you could hook up to your TV or monitor. Thanks to a surfaced patent, we've gotten an even closer look at what it would've potentially looked like.

The patent, first spotted by Windows Central, gives us a more complete view of the device. We've previously seen the Keystone in the flesh. Microsoft Gaming head Phil Spencer is known for hiding teases and interesting collectibles on the shelf in his office. In a 2022 X (formerly Twitter) post congratulating Bethesda on Fallout's 25th anniversary, you can see a small white device on the top shelf that's actually a Keystone prototype. Xbox told Digital Trends that it was a version of the device made before it decided to "refocus our efforts on a new approach.”

Read more
Wordle Today: Wordle answer and hints for June 28
Someone playing Wordle on a smartphone.

We have the solution to Wordle on June 28, as well as some helpful hints to help you figure out the answer yourself, right here. We've placed the answer at the bottom of the page, so we don't ruin the surprise before you've had a chance to work through the clues. So let's dive in, starting with a reminder of yesterday's answer.
Yesterday's Wordle answer
Let's start by first reminding ourselves of yesterday's Wordle answer for those new to the game or who don't play it daily, which was "ORDER." So we can say that the Wordle answer today definitely isn't that. Now, with that in mind, perhaps take another stab at it using one of these Wordle starting words and circle back if you have no luck.
Hints for today's Wordle
Still can't figure it out? We have today's Wordle answer right here, below. But first, one more thing: Let's take a look at three hints that could help you find the solution, without giving it away, so there's no need to feel guilty about keeping your streak alive -- you put in some work, after all! Or just keep scrolling for the answer.

Today’s Wordle includes the letter D.
Today’s Wordle uses two vowels.
Today's Wordle can refer to a large number of animals, particularly livestock like cattle or sheep, that are moving together in a group.

Read more