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

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

Build a small open-world city game I can open in the browser: one folder, index.html plus three.js from a CDN, no build step.
1. World: a coastal city at sunset built entirely from code. A street grid, a beach, palm trees, buildings with lit windows in neon pink and teal.
2. Player: WASD to walk, Shift to run. Press E to get into any car and E again to get out. Traffic and pedestrians on the streets.
3. Mission: a glowing marker starts one timed delivery job that pays cash when you reach the drop-off.
4. Police: hitting someone raises a 1 to 5 star wanted level, and police cars chase you harder at each star.
5. HUD: minimap, cash, speedometer, wanted stars. Press T to jump time forward 3 hours so the city goes from night to day. Show a MISSION PASSED screen and a WASTED screen.
6. 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