LLMs generate better code when a language has minimal, unambiguous ways to do things. Python's flexibility works against this, while Lua's simplicity makes it an ideal target for LLM-assisted prototyping. Combined with the LÖVE 2D game engine — which includes APIs for graphics, fonts, sounds, and music generation — it becomes possible to zero-shot a working game prototype with minimal prompting. The author built a clone of the bacteria puzzle from 7th Guest this way, noting the only missing piece was a notebook-style interactive environment for rapid iteration.
1 Comment
Sort: