Three.js 卡牌游戏:构筑卡组、对战场与特效实验室

GPT-6 Astra 完成了面向 WebGPU 的卡牌游戏完整核心循环:买卡包、组卡组、竞技场对战、领取奖励。

Claude Code + Three.js(仅代码)Wandy 2
真实模型 · 360°两者都基于同一张照片:左边是 Claude Code(Opus 5.5)用 Three.js 代码建模的一次未经修改的运行结果;右边是 Wandy 2。

创建精细的 3D 模型

单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。

Wandy3D 制作说明

作者没有公开提示词,因此我们写下了复现这个作品的方法。

Build a trading card game framework for the browser with Three.js and WebGPU. Cover the full core loop: a shop to buy decks and booster packs, a deck builder, a battle arena and a reward screen after matches. Include a card editor with a live card preview, fields for stats and art, and a colour picker. The arena is a dark, sci-fi board with lanes where cards are placed, life totals for both players, a card detail popup and an attack action log. Add a VFX lab with a 3D grid where effects such as projectiles and shields can be previewed and tuned with sliders. Use a dark UI with cyan and magenta accents. Use simple placeholder meshes and effects that can be swapped for custom assets later. Deliver a runnable web project. Done means you can buy a pack, build a deck, play a battle against an opponent and receive a reward.

如何使用这条提示词

  1. 在空的 Three.js 项目里,把构建说明粘贴给编码工具中的 GPT-6 Astra。

  2. 换成自己的卡牌主题、规则、阵营和界面配色,先保留占位模型。

  3. 运行并完整玩一轮,再让它补充卡面美术、新特效或调整平衡。

来自 Wandy3D

场景里需要一个真正的 3D 模型?

智能体只会用基本几何体搭场景。Wandy3D API 几分钟就能把一张照片或一段提示词变成带贴图的 GLB——从预付余额扣费,无需订阅。

  • Wandy 2每个模型 US$0.18
  • Wandy 1每个模型 US$0.09

余额永不过期 · 失败的任务自动退款 · 通过 API 生成的模型归你所有,可下载任意格式。

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

原帖你是作者吗? 请联系我们修改或删除此页面