GPT-4 Creates a Playable Version of Pong in Seconds

When GPT-4 launched earlier this week, OpenAI said it was more creative than GPT-3.5, and as if to prove that, the AI chatbot has started developing video games.

As IGN reports(Opens in a new window), Pietro Schirano, design lead at financial services company Brex and self-proclaimed “AI chef,” asked GPT-4 to recommend the best language to “build a pong like game.” Schirano also stated he wanted lots of people to be able to play the game.

In response, GPT-4 recommended using JavaScript to develop a version of Pong, but went a step further than that and produced a playable version(Opens in a new window) of Pong in JavaScript. If that wasn’t impressive enough, it took the chatbot less than 60 seconds to respond to Schirano’s question with the working example attached.

Since receiving that surprise response, Schirano has gone on to ask for versions of Asteroids(Opens in a new window) and Breakout(Opens in a new window) to be produced. GPT-4 delivered working versions of each game, and it even added a score system to the Breakout example.

OpenAI has touted GPT-4 as a major improvement over GPT-3.5, and this game-making exercise goes a long way to proving that statement is true. Schirano attempted to get GPT-3.5 to build Pong, but it failed to produce a working example.

Recommended by Our Editors

Separately, a machine learning engineer who goes by the name of Shota(Opens in a new window) on Twitter managed to get GPT-4 to produce a version of Pac-Man(Opens in a new window). It took the chatbot around 90 seconds to produce the game in a very basic, but working form. Shota admits he doesn’t understand the code GPT-4 created, but it does work and offers a very rudimentary version of the game.

What’s New Now to get our top stories delivered to your inbox every morning.”,”first_published_at”:”2021-09-30T21:30:40.000000Z”,”published_at”:”2022-08-31T18:35:24.000000Z”,”last_published_at”:”2022-08-31T18:35:20.000000Z”,”created_at”:null,”updated_at”:”2022-08-31T18:35:24.000000Z”})” x-show=”showEmailSignUp()” class=”rounded bg-gray-lightest text-center md:px-32 md:py-8 p-4 mt-8 container-xs” readability=”30.769230769231″>

Get Our Best Stories!

Sign up for What’s New Now to get our top stories delivered to your inbox every morning.

This newsletter may contain advertising, deals, or affiliate links. Subscribing to a newsletter indicates your consent to our Terms of Use and Privacy Policy. You may unsubscribe from the newsletters at any time.

Facebook Comments Box

Hits: 0