展示HN:我在4天内制作了一款多人游戏,且没有写任何代码

1作者: fcavalcantirj6 天前原帖
我让Claude Code连续运行了4天。它自主构建了一款多人策略游戏。我只在最后对代码进行了少量润色(约5%)。<p>工作流程如下:<p>1. 请Claude对我进行游戏设计的访谈。 2. 从那次对话中,它生成了约248个结构化任务,格式为JSON。 3. 创建了一个简单的循环:Claude选择一个任务,实施、测试、提交,然后重复。 4. 限制为3个任务,每15分钟暂停一次,以避免消耗过多的API配额。 脚本如下: claude --permission-mode acceptEdits "@specs/prd-v1.json \ 1. 阅读PRD。选择优先级最高的任务。 \ 2. 实施。运行测试。 \ 3. 更新进度。提交。推送。 \ 一次只处理一个任务。" 结果:<a href="https://jarls-production.up.railway.app" rel="nofollow">https://jarls-production.up.railway.app</a> 代码:<a href="https://github.com/fcavalcantirj/jarls" rel="nofollow">https://github.com/fcavalcantirj/jarls</a> 循环概念:<a href="https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents" rel="nofollow">https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents</a><p>虽然不完美——有一些bug和界面不够美观,但95%的过程是自主完成的。<p>现在的瓶颈不再是编码,而是事先清晰的思考。
查看原文
I ran Claude Code in a loop for 4 days. It built a multiplayer strategy game autonomously. I only touched the code at the end for polish (~5%).<p>How it worked:<p>1. Asked Claude to interview me about the game design 2. From that conversation, it generated ~248 structured tasks as JSON 3. Created a simple loop: Claude picks a task, implements, tests, commits, repeats 4. Throttled to 3 tasks, 15min pause, to not kill my API quota The script: claude --permission-mode acceptEdits &quot;@specs&#x2F;prd-v1.json \ 1. Read PRD. Pick highest-priority task. \ 2. Implement. Run tests. \ 3. Update progress. Commit. Push. \ ONLY ONE TASK AT A TIME.&quot; Result: <a href="https:&#x2F;&#x2F;jarls-production.up.railway.app" rel="nofollow">https:&#x2F;&#x2F;jarls-production.up.railway.app</a> Code: <a href="https:&#x2F;&#x2F;github.com&#x2F;fcavalcantirj&#x2F;jarls" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fcavalcantirj&#x2F;jarls</a> The loop concept: <a href="https:&#x2F;&#x2F;www.anthropic.com&#x2F;engineering&#x2F;effective-harnesses-for-long-running-agents" rel="nofollow">https:&#x2F;&#x2F;www.anthropic.com&#x2F;engineering&#x2F;effective-harnesses-fo...</a><p>Not perfect — had bugs, ugly screens. But 95% was autonomous.<p>The bottleneck isn&#x27;t coding anymore. It&#x27;s thinking clearly upfront.