跳到正文
Solen· 来源· @Solenxp · X·· 8 小时前AI 评分28
正文 · 原文

prompt for claude code, paste it whole. give the same one to a second model and put them side by side:

Build a small GTA-style driving game I can open in the browser: one folder, index.html plus three.js from a CDN, no build step.
1. World: a harbor district at dusk built entirely from code. Streets on a grid, warehouses, cranes, a pier, streetlights.
2. Car: WASD to drive, chase camera behind it. Press V for a cockpit view. Press E to get out and walk, E again to get back in.
3. Weather: press R to toggle rain. Wet roads reflect the streetlights and the car's tail lights.
4. HUD: a speedometer, a minimap that turns with the car, and one line of dispatcher text that gives me a delivery job.
5. Build every model from three.js primitives, no downloaded assets. Keep it at 60 fps on a laptop: instanced buildings, one shadow-casting light.
When it runs, serve it with a local server, give me the URL, then list what you'd add next.

来源:Solen · x.com