Creating a Space Game

OpenAI made an official live demo of Codex’s Javascript skills (zero intervention required) with a little spaceship game. It’s cool how the tool leverages the OpenAI platform to have general knowledge about the world, like when the user tells Codex to “set background to the color of space,” resulting in black. The commands get even more elaborate in this demo. With the single sentence beginning with “When the rocket is clicked,” Codex successfully programs a boost mechanic that accelerates the ship in its current direction. By the end of the eight-minute demo, the game has scoring, a tutorial, and an objective.
Source: https://www.pcgamer.com/this-ai-tries-to-code-whatever-you-tell-it-to-even-videogames/