Skip to content

3031 source-verified AI-built games from 2724 repos, attributed to GPT-6 Astra, GPT-6.1 Sol, Gemini 4 Argon, Claude Opus, Claude Sonnet and Claude Fable

22.0 KB
Raw Blame
{
  "repo": "suryaprasanthcse/Golem_Arcade_Game_tech",
  "created_at": "2026-10-03T17:14:14Z",
  "pushed_at": "2026-10-04T10:35:03Z",
  "description": null,
  "homepage": null,
  "default_branch": "main",
  "language": "C#",
  "readme": "# GOLEM\n\n**Every AI-generated 3D asset is a statue. GOLEM makes it move.**\n\nText-to-3D can give you a treasure chest in two minutes, but the lid is welded shut: one solid mesh, no parts, no pivots, no mass. In a game that's scenery, not a prop. GOLEM turns that statue into a mechanically interactive, physics-ready game entity. Lids swing on their real hinge line, doors open, drawers slide, and every part carries a mass computed from its own geometry. The same 30 kg ball that tips a 17 kg toolbox onto its side only shakes a 66 kg filing cabinet: it rocks 0.9° and slides 3.6 cm.\n\n**Hyper3D generates it in about 2 minutes. GOLEM makes it interactive in under 5 seconds per asset.**\n\n![Five AI-generated props, every moving part open](docs/stage_open.png)\n\n*Five Hyper3D Rodin props in Unity after one key press (O): a laptop, a toolbox, a chest, a four-drawer filing cabinet and a 4.3 t vault door. Before GOLEM, every one of them was a single static mesh ([closed](docs/stage_closed.png)).*\n\nBuilt for the Cambridge × Arcade AI Hackathon, Game Tech track (Tencent Cloud × Hyper3D), 3–4 October 2026.\n\n**Play in the browser:** [suryaprasanthcse.github.io/Golem_Arcade_Game_tech](https://suryaprasanthcse.github.io/Golem_Arcade_Game_tech/) (WebGL, 24 MB; drag a lid, door or drawer, O opens everything) · **Demo video:** [Google Drive](https://drive.google.com/drive/folders/1UXWH4ZhJozBS6qF-oj2g-jajAXVVKijr?usp=sharing) · **Repository:** [GitHub](https://github.com/suryaprasanthcse/Golem_Arcade_Game_tech) · **Models:** [`assets_release.zip` (release v1.0-hackathon)](https://github.com/suryaprasanthcse/Golem_Arcade_Game_tech/releases/tag/v1.0-hackathon)\n\n---\n\n## What GOLEM does\n\n- **Real joints, not animations.** Hinges (revolute) and sliders (prismatic) become Unity `ArticulationBody` joints with limits, driven by motors and simulated by PhysX. Drag any part with the mouse and it follows its own path: lids up, doors around, drawers out.\n- **Geometry does the maths.** Pivots, hinge axes, joint limits, colliders and masses are computed from the mesh. Nobody places a pivot by hand.\n- **Mass from real mesh volume.** Each part weighs its enclosed mesh volume times an effective density for its material, at real-world scale. The chest lid is 15.7 kg; the vault door is 2.7 t. That is why the same 30 kg ball tips the toolbox onto its side and only nudges the cabinet.\n- **Artist-in-the-Loop, built for Tencent vision models.** Today a person makes the creative calls in a few words (\"these parts are the door, hinged on the left, opening toward the front\") and GOLEM does the rest. Every call is a discrete choice, which is exactly the job a vision model on Tencent TokenHub can take over without changing anything downstream.\n- **Engine-agnostic output.** Each prop is a standard glTF 2.0 `.glb` (one node per part; a hinged part's origin sits on its pivot) plus a JSON joint manifest. The Unity importer ships with this repo; any engine with hinge and slider joints can consume the same pair.\n- **Measured, not claimed.** A headless self-test drives every joint and checks its direction and travel, and a play-mode audit records how far each prop tilts and slides. Every number on this page comes from those tools.\n\n## Speed and cost\n\nMeasured on a laptop (i5-11320H, 24 GB RAM), from [`METRICS.md`](METRICS.md):\n\n| Prop | Hyper3D cloud (generate + BANG) | GOLEM split | GOLEM Unity (import + joints) | **GOLEM total** | End to end | Credits |\n|---|---|---|---|---|---|---|\n| Chest | 111 s | 4.3 s | 0.56 s | **4.9 s** | 116 s | 0.5 |\n| Toolbox | 87 s | 4.1 s | 0.53 s | **4.6 s** | 92 s | 0.5 |\n| Laptop | 125 s | 4.3 s | 0.54 s | **4.8 s** | 130 s | 0.5 |\n| Vault door | 217 s + 311 s | 3.4 s | 0.69 s | **4.1 s** | 532 s | 1.0 |\n| Filing cabinet | 85 s + 283 s | 4.0 s | 0.64 s | **4.6 s** | 373 s | 1.0 |\n\n- **GOLEM's own work: 4.1–4.9 s per prop**, of which 2.1 s is Blender starting up (a batch run pays that once).\n- **Hyper3D: 85–125 s per Rodin generation, 283–311 s per BANG split, 0.5 credits per job** (measured from the wallet), through Hyper3D's official CLI.\n- Unity imports were timed fresh (cached models deleted first), as for a newly generated asset. Cloud times come from each job's own record and include queueing and download.\n\n## The props\n\n| Prop | Hyper3D | How GOLEM split it | Joints | Real size | Mass: body + moving parts |\n|---|---|---|---|---|---|\n| Laptop | Rodin Gen-2.5 (came out open, though prompted closed) | Cutter, `--open-part`: the screen stands at 107° | 1 hinge, −105° to +28° | 0.36 m | 3.0 + 0.9 kg |\n| Toolbox | Rodin Gen-2.5 | Cutter: seam found automatically at the lid rim | 1 hinge, 0–110° | 0.55 m | 11.9 + 5.0 kg |\n| Chest | Rodin Gen-2.5 | Cutter: seam found automatically in the groove | 1 hinge, 0–110° | 0.90 m | 30.0 + 15.7 kg |\n| Filing cabinet | Rodin Gen-2.5 + BANG (9 parts) | Assembler: artist names body and fronts; the fourth front is carved out of the carcass; drawer boxes are built behind the fronts | 4 sliders, 0–0.49 m | 1.30 m | 56.5 + 4 drawers of 1.5–4.5 kg |\n| Vault door | Rodin Gen-2.5 High + BANG | Assembler: frame, door, hinge on the left, opens toward the front, hung from an offset hinge arm | 1 hinge, 0–100° | 2.20 m | 1,618 + 2,695 kg (frame anchored) |\n\n![Filing cabinet close-up: all four drawers out](docs/cabinet_open.png)\n\n## How it works\n\n```\n text prompt\n     │  Hyper3D Rodin Gen-2.5 (official CLI, 0.5 credits, ~2 min)\n     ▼\n one solid .glb ──► Hyper3D BANG (optional: multi-part assets, 0.5 credits, ~5 min)\n     │\n     ▼  SPLIT: local, headless Blender, ~2 s of work (+2 s Blender start-up)\n ┌──────────────────────────────┬──────────────────────────────────────────────┐\n │ golem_cutter.py              │ golem_assemble.py                            │\n │ boxy lids, laptop screens:   │ multi-part models (BANG):                    │\n │ finds the seam from exact    │ the artist names the root, the moving parts, │\n │ cross-section areas, cuts,   │ the hinge side and the direction; GOLEM      │\n │ caps, puts the hinge on the  │ computes pivots, axes and travel; --carve    │\n │ seam outline                 │ separates parts BANG left fused              │\n └──────────────────────────────┴──────────────────────────────────────────────┘\n     ▼\n <name>_split.glb  +  <name>_joints.json        ◄── engine-agnostic hand-off\n     │\n     ▼  UNITY: ~0.6 s per prop\n glTFast import → real-world scale → ArticulationBody chain: anchors on the pivots,\n limits, drives, convex colliders, mass = volume × density, flat footprint\n     ▼\n self-test (every joint driven and checked) → demo stage → Play\n```\n\n### Design principle: the model chooses, the geometry computes\n\nAI models (and artists) make **discrete** choices: which part moves, which part it hangs from, hinge or slider, which side the hinge is on, which way it opens. **Continuous** values are never guessed; geometry computes them: the pivot point, the axis, the limits, the mass. A wrong discrete choice is obvious and easy to fix. A guessed pivot is subtly wrong forever.\n\n### Artist-in-the-Loop\n\nThis is the vault door, from a single BANG output:\n\n```bash\npython golem_assemble.py assets/raw/vault_door_bang.glb --root root.5 \\\n    --move \"door=root.12,root.1,root.2:left:front:100\" --hinge-arms --name vault_door\n```\n\n\"The frame is `root.5`; the door is these three parts, hinged on the left, opening toward the front, up to 100°.\" GOLEM aligns the axis and writes the joint. With `--hinge-arms`, as on a real round vault door, the axis sits just outside the frame's front edge rather than on the door: a thick door seated in its frame then backs out through its own opening, and a hinge barrel on the frame and an arm on the door join them through the whole swing. The boxy props need even less:\n\n```bash\npython golem_cutter.py assets/raw/chest.glb                 # seam, cut and hinge found automatically\npython golem_cutter.py assets/raw/laptop.glb --open-part    # parts that were generated already open\n```\n\nWhen BANG leaves a part fused into another, the artist can carve it out: a box in the model's frame, taking only the loose pieces that lie wholly inside it, so nothing is torn. That is how the cabinet got its fourth drawer. The exact command for every prop is in [`golem_props.json`](golem_props.json).\n\n### The joint manifest\n\nThe hand-off between GOLEM and any engine is a `.glb` plus this JSON (the vault door, shortened):\n\n```json\n{\n  \"asset\": \"vault_door\",\n  \"frame\": \"glTF (right-handed, +Y up, front +Z)\",\n  \"parts\": [\n    { \"node\": \"body\", \"role\": \"root\",   \"from\": [\"root.5\"] },\n    { \"node\": \"door\", \"role\": \"moving\", \"from\": [\"root.12\", \"root.1\", \"root.2\"] }\n  ],\n  \"joints\": [{\n    \"type\": \"revolute\", \"parent\": \"body\", \"child\": \"door\",\n    \"pivot\": [-0.949902, -0.055516, 0.309393],\n    \"axis\": [0.0, -1.0, 0.0],\n    \"limits_deg\": [0.0, 100.0], \"rest_deg\": 0.0,\n    \"hinge_side\": \"left\", \"opens_toward\": \"front\", \"outward\": [-1.0, 0.0, 0.0]\n  }]\n}\n```\n\nEverything is in the glTF frame, so it means the same thing in any engine. The Unity importer (`GolemArticulator.cs`, about 200 lines) handles the one subtle step, glTF's right-handed frame to Unity's left-handed one. Points mirror X; rotation axes are pseudo-vectors and map as (x, −y, −z), otherwise every hinge opens backwards. The self-test exists to catch exactly that.\n\n### Physics that holds up\n\nInteractive props are only useful if they don't fall over when you use them. The first stage build failed that test, so we measured and fixed each cause. Open-then-close on the demo stage, with free-standing props:\n\n| Prop | Max tilt before | Max tilt after |\n|---|---|---|\n| Vault door | 125° (fell flat) | 0.00° |\n| Chest | 89° (fell on its back) | 0.25° |\n| Toolbox | 11.3° | 0.34° |\n| Laptop | 9.6° | 0.11° |\n| Filing cabinet | 2.7° | 0.00° |\n\n- **Parts move at a speed their mass allows.** Opening and closing follow a smooth speed profile whose top speed falls with 1/√mass: a 0.9 kg laptop screen swings shut in 1.2 s, the 2.7 t vault door takes 4.0 s. Before, every part covered 90% of its travel in a quarter of a second whatever it weighed, and the motor's kick threw the props over.\n- **Inertia-scaled drives.** Every joint drive is critically damped at 10 Hz, scaled by that joint's own inertia, so a 0.9 kg screen and a 2.7 t door track their targets equally well.\n- **Flat footprints.** Generated bases are not flat (the chest's varies by 2 cm), so a prop resting on its convex hull rocked from facet to facet as its weight shifted. Each body now stands on a flat footprint at its lowest point.\n- **Fixtures are anchored.** The vault's 2.7 t door outweighs its 1.6 t frame; like a real vault door, it is set in a wall. The stage builds one behind every anchored prop, with a round doorway hidden behind the frame and a dark vault behind that.\n- **Dragging never reverses.** The mouse-to-joint mapping is fixed when you grab a part. Tested with 37 scripted drags from four camera angles: every one moved the right way, with no reversals.\n\n![Vault door close-up, swung open](docs/vault_open.png)\n\n## Production architecture: GOLEM on Tencent Cloud\n\nThe demo runs on one machine. A live game needs GOLEM as a service: thousands of props generated, split, checked and shipped continuously, with Tencent's 3D and vision models doing the work a person does today. This is the deployment GOLEM is designed for. It is a design, not yet deployed:\n\n```\n game team / live-ops tools ──► GOLEM job queue\n                                     │\n        ┌────────────────────────────┼─────────────────────────────┐\n        ▼                            ▼                             ▼\n Hyper3D REST API             Tencent Cloud GPU instance    Tencent TokenHub\n (Business tier)              Hunyuan3D-Part, self-hosted   HY-3D-Component;\n Rodin Gen-2.5 + BANG         (P3-SAM part segmentation)    a vision model makes the\n        │                            │                      Artist-in-the-Loop choices\n        └───────────────► Tencent Cloud CVM workers ◄──────────────┘\n                          headless Blender split jobs, many in parallel\n                                     │\n                                     ▼\n                          Unity batch-mode self-test (pass/fail gate)\n                                     │\n                                     ▼\n                Tencent Cloud COS + CDN: .glb + joint manifest to game clients\n```\n\n- **A GPU for Tencent's segmentation model.** Hunyuan3D-Part needs far more GPU memory than a laptop's 4 GB card, so on a Tencent Cloud GPU instance it becomes a first-class splitter next to BANG and the cutter, for the assets neither handles.\n- **Throughput by scaling out.** At the measured 4.6 s of GOLEM work per prop, a 1,000-prop catalogue is about 77 minutes in series on one machine. Every prop is independent, so across a pool of CVM workers that time divides by the number of workers.\n- **A quality gate that already exists.** The Unity self-test runs headless today (`-batchmode`, exit code 0 on pass), so every asset can be checked before it ships.\n- **Delivery.** The output is a `.glb` plus a small JSON manifest per prop, ready for object storage and a CDN.\n\n**Built today:** the Hyper3D client with job records and resume, both splitters running headless, the joint manifest, the Unity importer, the batch-mode self-test and the metrics. **Next:** the queue, the worker pool, the TokenHub and GPU-hosted Tencent models.\n\n### The automation path: Tencent TokenHub\n\nGOLEM's design principle (the model chooses, the geometry computes) exists so a vision model can drop in. Every Artist-in-the-Loop decision is a pick from a short list: which parts move, hinge or slider, which side, which way. That is the kind of question a vision model on Tencent TokenHub answers from a rendered view of the parts, returning an ID rather than a coordinate, so a wrong answer is visible and cheap to correct. Tencent's part-aware 3D models (HY-3D-Component on TokenHub, and the open Hunyuan3D-Part) add a segmentation tier for the assets BANG leaves fused. With those in place, the artist moves from operator to reviewer: Artist-in-the-Loop stays as the override and the production safety net, and the routine calls are automated.\n\nThe slot already exists. `golem_auto.py` takes the choices as a small JSON file (who chose, the splitter, which parts move and how) and runs the matching splitter. Today the artist writes that file; a vision model's answer goes into the same file, and nothing downstream changes:\n\n```json\n{ \"source\": \"artist\", \"name\": \"laptop_r2\", \"size_m\": 0.36, \"density\": 1300,\n  \"splitter\": \"cut\", \"lid\": { \"hinge\": \"back\", \"generated_open\": true } }\n```\n\nWe rehearsed the whole path on a model GOLEM had never seen: a laptop pushed through the Hyper3D Unity bridge's own model loader (`RodinModel.LoadModel`, in a scratch Unity project), split by `golem_auto.py` from that file in 4.6 s, then imported with its hinge and masses (1.42 kg base, 0.33 kg screen) and driven shut and open on the floor. That run found two cutter bugs on this thinner laptop, both fixed: raised keys sliced off with the screen (now returned to the body), and a hinge at the back of the screen's 2 cm edge that swung its front edge through the floor (open parts now turn about their front edge).\n\nThe organizers confirmed during the event that Tencent Cloud resources are provided to participants only as prizes, so the vision model and the Tencent tiers are the next step, not code in this repository.\n\n## Hyper3D\n\nEvery prop's geometry and textures come from **Hyper3D Rodin Gen-2.5**; **Hyper3D BANG** split the two complex ones into parts. For rapid prototyping, `hyper3d_client.py` drives Hyper3D's official CLI (`@hyper3d/cli` 0.2.0, browser sign-in). Production moves to Hyper3D's REST API (Business tier) for unattended, server-side generation; `hyper3d_client.py` is the only module that talks to Hyper3D, so that switch stays inside one file. The client records every billable job in `assets/raw/<name>.job.json` the moment Hyper3D accepts it, so an interrupted run resumes without paying twice.\n\n| Job | Prompt or instruction |\n|---|---|\n| Rodin: chest | wooden treasure chest with a hinged lid, closed, boxy shape, metal corner brackets, game prop |\n| Rodin: toolbox | metal mechanic's toolbox with a hinged lid, closed, red paint, boxy shape, game prop |\n| Rodin: laptop | clamshell laptop, closed, lid shut, game prop |\n| Rodin: laptop (retry, unused) | a closed laptop computer, lid shut flat on the keyboard, thin rectangular slab, top view, game prop |\n| Rodin: filing cabinet | wooden filing cabinet with three drawers, game prop |\n| BANG: filing cabinet | separate the three drawers |\n| Rodin High: vault door | A heavy steampunk bank vault door with a central locking wheel. |\n| BANG: vault door | separate the vault door and the locking wheel |\n\n8 jobs, 4.0 credits in total.\n\n## Run it\n\n**You need:** Windows 11 (tested), Python 3.14, Blender 5.2 LTS, Unity 6.6 (`6000.6.0f1`). Node.js and `npm i -g @hyper3d/cli` are only needed to generate new models. Unity resolves its packages from the manifest (glTFast 6.20.0, URP 17.6.0, Input System 1.20.0).\n\n```bash\npython -m venv .venv && .venv/Scripts/pip install -r requirements.txt\n.venv/Scripts/python -m unittest          # cutter tests\n```\n\n**1. Get models.** The generated models are not in git.\n- Download `assets_release.zip` from the [v1.0-hackathon release](https://github.com/suryaprasanthcse/Golem_Arcade_Game_tech/releases/tag/v1.0-hackathon) and unzip it at the repository root (it holds `assets/raw/` and `assets/split/`), or\n- generate your own: `hyper3d auth login`, then for example\n  `python hyper3d_client.py generate \"wooden treasure chest with a hinged lid, closed\" --name chest`\n  (and `python hyper3d_client.py bang <name> --instruction \"...\"` for multi-part models).\n\n**2. Split** (skip this if the asset pack already holds `assets/split/`): run each prop's command from [`golem_props.json`](golem_props.json), for example `python golem_cutter.py assets/raw/chest.glb`. Set `GOLEM_BLENDER` if Blender isn't at its default path. For a new model, write a choices file and run `python golem_auto.py model.glb --choices choices.json --out <folder>`, then in Unity use **GOLEM → Import Folder…** on that folder.\n\n**3. Unity.** Open `GolemUnity/` in Unity 6.6. In the menu bar: **GOLEM → Import Split Props**, then **GOLEM → Build Demo Stage**, then press **Play**. Headless import and self-test, exiting 0 on pass:\n`Unity.exe -batchmode -projectPath GolemUnity -executeMethod Golem.EditorTools.GolemMenu.BuildFromCommandLine`\n\n**Controls (Play mode)**\n\n| Input | Action |\n|---|---|\n| Left mouse drag on a part | Move it along its joint |\n| O / C | Open / close every part |\n| 0 | Wide shot |\n| 1 – 5 | Close-up: laptop, toolbox, chest, filing cabinet, vault door |\n| B / T / V | Roll the 30 kg ball at the filing cabinet / toolbox / vault door (the cabinet shot fires by itself 1.5 s after Play) |\n\n**Re-measure:** `python golem_metrics.py` with the Unity project open regenerates `METRICS.md`. **GOLEM → Run Hinge Self-Test** checks every joint.\n\n## Limits, honestly\n\n- **Part roles are chosen by a person.** Artist-in-the-Loop is the shipped path. The TokenHub vision step and the Tencent segmentation tiers are designed in (choices are discrete on purpose) but not yet wired up: Tencent Cloud resources are provided to hackathon participants only as prizes.\n- **Generation and BANG follow instructions only partly.** The cabinet came out with four drawer fronts although the prompt and the BANG instruction both said three, and BANG separated only three of them; asked to separate the vault's locking wheel, BANG left it fused to the door, so the wheel doesn't spin. `--carve` recovers fused parts like the fourth drawer front.\n- **Generated meshes are solid, and drawers come as fronts only.** GOLEM builds a plain drawer box behind each front (`--drawer-boxes`, coloured from the front's texture) rather than generating real drawer geometry; cut lids are capped; masses use per-prop effective densities ([`golem_sizes.json`](golem_sizes.json)) to stand in for hollow real objects.\n- **The cutter does horizontal lids only.** Everything else goes through BANG and the assembler.\n- **Dragging uses a straight-line mapping.** The grabbed point ends 0–23 px from the cursor, but the big vault door trails it by up to 76 px (in an 846 px view) because its arc is curved.\n- **One importer, one machine.** Unity is the only engine with an importer today, and the production architecture above is a design, not a deployment.\n\n## Compliance and AI disclosure\n\n- This repository started at the hackathon. The first commit (`9fadd3b`) is timestamped 16:06:26 IST on 3 October 2026, after hacking began at 15:30 IST. All code here was written during the event.\n- Before the event, the author wrote design notes and a separate research prototype (29 September 2026: an oriented-box hinge-candidate solver and a pivot refiner). That prototype lives in another repository; none of its code is used here.\n- **AI tools:** the code was written by Claude Code (Anthropic's Claude Opus 5.5) under the author's direction. The 3D models were generated by Hyper3D Rodin Gen-2.5 and split by Hyper3D BANG.",
  "commits": []
}