单HTML文件纯代码构建的3D农场游戏
rewind
full 3d farming game was built in one html file with claude fable 5.2 + three.js.. no asset files at all the trick is generating everything from code. here’s the workflow: - step 1: set fable 5.2 to xhigh effort and ask for one self-contained html file using three.js - step 2: prompt 1, the world: terrain, ~200k instanced grass blades that sway and flatten underfoot, a farmhouse and a barn with working doors - step 3: textures from code: wood grain, peeling paint, wet soil that glistens after watering - step 4: prompt 2, the farming loop: hoe for raised furrows, a seed catalogue, a watering can, a sickle, 6 crops from seed to harvest - step 5: prompt 3, the atmosphere: 4 seasons, fog and rain, snow that builds up and holds footprints, lanterns that light at sunset - step 6: audio from code too: footsteps that change on grass, dirt and wood, rain under a roof, background music - step 7: share it as a claude artifact so anyone can play it in the browser who does what: > fable 5.2: every mesh, texture, sound and line of javascript > three.js: rendering, lighting, instancing > one html file: the whole game > you: the brief and the feedback small reactive details beat big features (dev: lucian__03)查看原帖