Creating a Space Game

Using OpenAI Codex to create a Space Game

About 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/

Creating a Space Game screenshots

Ready to start building?

At Apideck we're building the world's biggest API network. Discover and integrate over 12,000 APIs.

Check out the API Tracker