{"slug": "gameenginedoc-ai-game-engine-spec", "title": "GameEngineDoc - AI Game Engine spec", "summary": "A developer is building a production-grade 3D game engine for Windows, macOS, and Linux, using C++ and CMake with GLFW, NVRHI, Vulkan, glm, miniaudio, and Lua scripting. The engine is designed to be fully controllable by AI agents, so a user can ask an agent to build a game like Tetris without manual intervention, and it includes an editor, ECS scene authoring, glTF import, PBR/IBL rendering, soft shadows, SSAO, and an exportable runtime. Development follows Hazel's code style with an emphasis on unit testing and a test scene covering every engine feature and scripting API.", "body_md": "We're building a production-grade, simple and straight-forward 3D Game Engine for Windows, macOS and Linux (Ubuntu 24+). This is professional-grade software that needs to be stable, fully-tested, and real-world deployable. No hacks, no shortcuts - solid as a rock.\n\n- Ask questions only when absolutely necessary - work autonomously\n- IMRORTANT! DO NOT look outside of working directory or use other code on my computer as reference\n- Start by asking question to determine engine name. Suggest a few\n- Testing is of the utmost importance - use lots of unit tests (any framework, simple is good), run automated testing\n- Setup a scene used for testing, which tests every single feature in the engine - all components, and entire scripting API\n- Do things properly, this is production-grade and not a hack project\n- Create AGENTS.md and relevant skills to support development, and contain concrete development guidelines\n- Code style to match [Hazel](https://docs.hazelengine.com/HazelForEngineers/DeveloperGuide#naming) , full repo[here](https://github.com/TheCherno/Hazel)\n- Create git repository, commit and push to [GitHub repo](https://github.com/TheCherno/AIGameEngine) . IMPORTANT: do a code review before committing, and make sure all changes comply with code style, production-grade quality standards, and have been properly tested/have unit tests that have passed where necessary\n\n- C++ and CMake for core engine\n- [GLFW](https://github.com/glfw/glfw) and[nvrhi](https://github.com/NVIDIA-RTX/NVRHI) , using Vulkan primarily on all platforms\n- [glm](https://github.com/g-truc/glm) for math\n- [miniaudio](https://github.com/mackron/miniaudio) for audio\n- Lua for scripting, though this can be up for discussion\n\n- Static library for core engine, executable for editor and runtime (depending on chosen design)\n- Need to have editor to build games - this can be embedded into runtime executable (and stripped from distribution builds), or can be a standalone executable\n- Simple ECS perhaps, to author scene with entities and components\n- Ability to \"export\" game - executable that runs game without editing ability that we can distribute\n- Editor needs to be fully controllable by AI agents - I should be able to ask you to build me a game like Tetris, and you should have all the tools available to do so without my intervention\n\n- Import gltf meshes with materials and textures\n- Editor has gizmo to position them in the world\n- PBR material workflow\n- IBL with HDRIs from [https://polyhaven.com/hdris](https://polyhaven.com/hdris)\n- Soft shadow maps\n- Good SSAO\n- HDR pipeline with tonemapping\n\n- Use simple 3D physics library of your choosing\n- Controllable via scripting, authored via components in editor\n\n- Scripting with Lua (or other chosen language)\n- Control entities/components and run in update loop, and entity destruction/creation\n- Spawn new entities/prefabs", "url": "https://wpnews.pro/news/gameenginedoc-ai-game-engine-spec", "canonical_source": "https://gist.github.com/TheCherno/ccf5d7656c68423b22398d9474c7af5d", "published_at": "2026-10-04 22:50:09+00:00", "updated_at": "2026-10-05 00:42:01.759353+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["NVIDIA", "GLFW", "NVRHI", "Vulkan", "Hazel", "TheCherno", "GitHub", "Poly Haven"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/gameenginedoc-ai-game-engine-spec", "markdown": "https://wpnews.pro/news/gameenginedoc-ai-game-engine-spec.md", "text": "https://wpnews.pro/news/gameenginedoc-ai-game-engine-spec.txt", "jsonld": "https://wpnews.pro/news/gameenginedoc-ai-game-engine-spec.jsonld"}}