Thursday, March 30, 2023
HomeDigit NewsBuild in 60 seconds: That's how long it took GPT-4 to generate...

Build in 60 seconds: That’s how long it took GPT-4 to generate a Pong game in JavaScript

Neural networks continue to amaze with their capabilities. Developer Pietro Scirano reveals that GPT-4 was able to create JavaScript versions of popular games Pong, Asteroids, Breakout And Pac man. At the same time, it took about a minute to generate each.

The games were created according to a short TOR, and the specifics were not prescribed in the tasks. First, Shirano asked GPT-4 what the neural network thought was the best programming language for “creating a Pong-like game.” In response, the system recommended using JavaScript, and then generated a playable version itself.

In addition, the neural network has added a scoring system to Breakout. As the developer himself stated, the GPT-3.5 version could not create Pong.

It took 90 seconds to create Pac-Man, this game was “ordered” by the user under the nickname Shota. After generation, he only slightly changed the colors in the code and corrected the position of the mouth of the hero of the game. At the same time, the user stated that he did not understand the code.

Previously reportedthat GPT-4 was able to create a game in JavaScript where you have to “rob cows”.


Instagram Tips and Trick: Now no one will be able to see you online on Insta, just follow this trick

The world’s first 5G phone launch with Snapdragon 7+ Gen2 processor,...

highlights Redmi has currently launched Note 12 Turbo in China. At present, it has not been told when it will be launched in India. The company can...
- Advertisment -


Two Wheeler

Digit News