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.
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.
Sign up for What's New Now to get our top stories delivered to
Read more on pcmag.com