{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/playable-game-generation","title":"Playable Game Generation","arxiv_id":"2412.00887","date":"2024-12-01","proceeding":null,"authors":["Mingyu Yang","Junyou Li","Zhongbin Fang","Sheng Chen","Yangbin Yu","Qiang Fu","Wei Yang","Deheng Ye"],"abstract":"In recent years, Artificial Intelligence Generated Content (AIGC) has advanced from text-to-image generation to text-to-video and multimodal video synthesis. However, generating playable games presents significant challenges due to the stringent requirements for real-time interaction, high visual quality, and accurate simulation of game mechanics. Existing approaches often fall short, either lacking real-time capabilities or failing to accurately simulate interactive mechanics. To tackle the playability issue, we propose a novel method called \\emph{PlayGen}, which encompasses game data generation, an autoregressive DiT-based diffusion model, and a comprehensive playability-based evaluation framework. Validated on well-known 2D and 3D games, PlayGen achieves real-time interaction, ensures sufficient visual quality, and provides accurate interactive mechanics simulation. Notably, these results are sustained even after over 1000 frames of gameplay on an NVIDIA RTX 2060 GPU. Our code is publicly available: https://github.com/GreatX3/Playable-Game-Generation. Our playable demo generated by AI is: http://124.156.151.207.","url_abs":"https://arxiv.org/abs/2412.00887v1","url_pdf":"https://arxiv.org/pdf/2412.00887v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"playable-game-generation","repo_url":"https://github.com/greatx3/playable-game-generation","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":null,"task_name":"GPU"},{"task_slug":"image-generation","task_name":"Image Generation"},{"task_slug":"text-to-image-generation-1","task_name":"Text to Image Generation"},{"task_slug":"text-to-image-generation","task_name":"Text-to-Image Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2412.00887","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.00887"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/greatx3/playable-game-generation","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_honours":1,"ran_draft_wrong":1,"unverified":9},"by_repo_kind":{"official":{"samples":11,"ran":2,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"c92c27c924b517e8","entry":"get_2d_sincos_pos_embed","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"network/df/models/diffusion/dit_models.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/network/df/models/diffusion/dit_models.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c92c27c924b517e8"}},{"code_sha256_prefix":"03310bba324ae4fb","entry":"modulate","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"network/df/models/diffusion/dit_models.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/network/df/models/diffusion/dit_models.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"03310bba324ae4fb"}},{"code_sha256_prefix":"ebbfe93eb83e8d0d","entry":"add_dims","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"network/df/models/diffusion/denoiser.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/network/df/models/diffusion/denoiser.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ebbfe93eb83e8d0d"}},{"code_sha256_prefix":"d386ad8762645d72","entry":"build_sigmas","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"network/df/models/diffusion/diffusion_sampler.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/network/df/models/diffusion/diffusion_sampler.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d386ad8762645d72"}},{"code_sha256_prefix":"50d34b56cd8d17b9","entry":"data_formater","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"model.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"50d34b56cd8d17b9"}},{"code_sha256_prefix":"665d8a4e8f673a4c","entry":"get_2d_sincos_pos_embed_from_grid","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"network/df/models/diffusion/dit_models.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/network/df/models/diffusion/dit_models.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"665d8a4e8f673a4c"}},{"code_sha256_prefix":"ab34bd359463842e","entry":"get_action_sequence","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"infer.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ab34bd359463842e"}},{"code_sha256_prefix":"cbfc03052658888c","entry":"get_jave_7action","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"infer.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cbfc03052658888c"}},{"code_sha256_prefix":"3b32a0a9997014ec","entry":"init_simulator","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"model.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/model.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3b32a0a9997014ec"}},{"code_sha256_prefix":"25e22d3de79ec462","entry":"preprocess_img","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"infer.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/infer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"25e22d3de79ec462"}},{"code_sha256_prefix":"a642c5bd75b4814b","entry":"read_model","repo":"greatx3/playable-game-generation","repo_kind":"official","path":"utils.py","file_url":"https://github.com/greatx3/playable-game-generation/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a642c5bd75b4814b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}