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”.