Generates playable web games end-to-end from text prompts using an open-source agentic framework with specialized LLMs and automated debugging.
OpenGame is an open-source agentic framework developed by researchers at CUHK MMLab. It addresses the challenge of creating fully playable web games from high-level prompts, a task where traditional large language models often fail due to complex integration issues and logical inconsistencies across multiple files and game states.
OpenGame operates as a command-line interface tool, accepting a single text prompt as input to guide game creation. It leverages an internal agent, powered by the specialized GameCoder-27B LLM or other OpenAI-compatible models, along with various asset generation providers. The framework scaffolds, codes, and debugs the game automatically, outputting a complete, playable web game. It is open-source, requiring users to self-host and provide their own API keys for AI services.
Ideal for developers and researchers aiming to rapidly generate fully playable web games from high-level prompts, especially those interested in exploring advanced agentic coding for interactive applications.
Users must provide their own API keys for OpenAI-compatible LLMs and various asset generation providers, as OpenGame ships without these defaults. The framework is currently command-line driven and requires manual setup of a Node.js environment.