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.

Editors' Recommendations

Giovanni Colantonio
Giovanni is a writer and video producer focusing on happenings in the video game industry. He has contributed stories to…
Weekend deal: Save $350 on this Alienware gaming PC with RTX 4070
Alienware Aurora R16 sitting on a desk.

The Alienware brand is Dell’s dive into the gaming world, and Dell is coming up big today when it comes to gaming PC deals. The super popular Alienware Aurora R16 gaming desktop with some serious specs is currently discounted at Dell. It’s marked down from $2,050 to $1,700 and amounts to $350 in savings. This is one of the better Alienware deals you’ll find today and we don’t know how long it will last, so click over to Dell to claim the savings while yo can.

Why you should buy the Alienware Aurora R16 gaming desktop
There are a lot of great options when trying to ensure you’re getting one of the best gaming PCs, and with Alienware you know you’ll be getting something you can take seriously. The Alienware Aurora R16 is a gaming desktop that offers ultimate expansion and customization options, and it’s where a lot of gamers turn when they’re looking to take on the best PC games. As built for this deal the Aurora R16 has 32GB of RAM and an Intel i9 processor with 24 cores. This is a lot of power even by gaming standards, and the powerful NVIDIA GeForce RTX 4070 graphics card with 12GB of its own RAM is part of the package as well.

Read more
TopSpin 2K25 serves up a fun, but safe tennis simulation revival
Serena Williams plays Tennis in TopSpin 2K25.

The first video game console I ever owned was an original Xbox that came bundled with two games: NCAA Football 2005 and Top Spin. My appreciation for both Madden and tennis games can be traced back to those being two of my first-ever console gaming experiences.

That’s why I was very excited to hear that Mafia 3 developer Hanger 13 and publisher 2K were bringing the Top Spin tennis series back with TopSpin 2K25 after a 13-year dormancy. Unfortunately, I'm disappointed with how underwhelming the overall product is. Even though it’s the series’ grand return after over a decade, it feels like an extremely iterative sequel to Top Spin 4. It’s certainly approachable, thanks to great tutorials and new meter systems to help players learn proper timing, but TopSpin 2K25's light content offering doesn't make for the strongest opening serve.
Top Spin returns
Developer Hanger 13 hasn’t been coy about the fact that it used 2011's Top Spin 4 as the base to build TopSpin 2K25. Top Spin 4 is a fantastic tennis game that people still play to this day, as it perfected the series’ timing-based gameplay. This isn’t like Mario Tennis Aces, where a special ability can shoot you across the court and hit timing doesn’t matter. TopSpin 2K25 is a true simulation, so learning proper positioning on the court, when to release a button to swing your racket, and how to aim your shot properly are all critical to success.

Read more
Embracer Group is splitting into 3 companies. Here’s who owns what
Rise of the Tomb Raider

Embracer, the embattled gaming company that went through a massive restructuring over the past year, just announced that it will split up into three different companies: Asmodee, Coffee Stain & Friends, and Middle-earth Enterprises & Friends.

If you need a refresher, Embracer Group gained a reputation for acquiring gaming IPs and studios, including everything from Borderlands' Gearbox Entertainment to Tomb Raider developer Crystal Dynamics to The Lord of the Rings' rights holder Middle-earth Enterprises. It functioned as one massive company separated into several operating groups. After a deal with Saudi Arabia's Savvy Group fell through last year, Embracer went through a massive period of "restructuring" where it laid thousands of developers off, shut down studios, and sold the likes of Saber Interactive and Gearbox. Now, it seems the saga of Embracer Group is nearing its end, as the company admitted in a press release "that the current Group structure does not create optimal conditions for future value creation both for Embracer Group’s shareholders and other stakeholders."

Read more