Code2Games: Enabling Coding Agents for Gaming World Generation
Summary
Code2Games is an agentic framework that coordinates coding agents to build consistent gaming worlds from natural-language game intents, adapting them to Unreal Engine 5 via execution-guided reconstruction, and introduces the GameCode4D benchmark for evaluating game-world generation quality.
View Cached Full Text
Cached at: 10/06/26, 08:54 AM
Paper page - Code2Games: Enabling Coding Agents for Gaming World Generation
Source: https://huggingface.co/papers/2610.05033
Abstract
Generatingahigh-qualitygamingworldfromanatural-languagegameintentrequiresjointreasoningaboutscenestructure,spatiallayout,gameplayobjectives,interactiveentities,andexecutablegameplaylogic.Existingcodingagentscangenerateindividualassets,scenes,orscripts,butoftenstruggletomaintainconsistencyacrossthesecomponents.WeproposeCode2Games,anagenticframeworkthatbuildsastructuredgamingworlduponabaseBlenderworldgeneratedfromthesamegameintent.Code2Gamescoordinatessceneanalysis,gameplayplanning,constrainedgaming-worldgeneration,andgaming-enginecustomizationthroughasharedscene-gameplayrepresentationwithpersistentelementcorrespondence.Afterworldgeneration,Code2GamesadaptsthegeneratedworldtoUnrealEngine5andemploysanexecution-guidedreconstructionprocessthatusescompilationdiagnostics,runtimefeedback,andgameplaytestresultstoresolveinconsistenciesarisingduringengineadaptation.Tosystematicallyevaluategaming-worldgeneration,weintroducetheGameCode4Dbenchmark,whichcomprisestenfixedgamepromptsspanningdifferentlevelsofsceneandgameplaycomplexity.Weevaluatethegeneratedresultsacrossfourdimensions:visualquality,interactivefidelity,multimodalartifactquality,andplayable-gamequality.Experimentsdemonstratethat,comparedwithdirectgaming-worldgenerationbycodingagentsandexistingbaselinemethods,Code2Gamesconsistentlyimprovesthevisualqualityandinteractivefidelityofgeneratedgamingworlds,aswellasthequalityoftheresultinggamesafterengineadaptation.
View arXiv pageView PDFProject pageGitHub1Add to collection
Get this paper in your agent:
hf papers read 2610\.05033
Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash
Models citing this paper0
No model linking this paper
Cite arxiv.org/abs/2610.05033 in a model README.md to link it from this page.
Datasets citing this paper0
No dataset linking this paper
Cite arxiv.org/abs/2610.05033 in a dataset README.md to link it from this page.
Spaces citing this paper0
No Space linking this paper
Cite arxiv.org/abs/2610.05033 in a Space README.md to link it from this page.
Collections including this paper0
No Collection including this paper
Add this paper to acollectionto link it from this page.
Similar Articles
Coding Agent Is Good As World Simulator
This paper presents an agentic framework that uses coding agents to generate physically plausible world simulations from natural language prompts, outperforming video-based models in physical accuracy and instruction fidelity.
OpenGame: Open Agentic Coding for Games
OpenGame is an open-source agentic framework for end-to-end web game creation, powered by the specialized GameCoder-27B model and evaluated via the new OpenGame-Bench benchmark.
Code2Video: A Code-centric Paradigm for Educational Video Generation
Code2Video is a code-centric agent framework for generating educational videos, improving coherence and interpretability over direct code generation. It includes a multi-agent system and a new benchmark for evaluation.
AgentGarten: Code Worlds for Evolving Agents
AgentGarten is a framework that couples simulators and game engines with a shared neural renderer to build real-time interactive environments where agents learn from visual observations and distill experience into inherited playbooks, achieving major learning efficiency gains over conventional RL with just 4 rounds of experience.
CreativeGame:Toward Mechanic-Aware Creative Game Generation
CreativeGame is a multi-agent system that iteratively generates HTML5 games by explicitly planning, tracking, and evolving game mechanics across versions using programmatic rewards and lineage memory.