用这个模板做的 2 个案例
同一份提示词,不同的 [VARIABLES] 变量。点一个在上方预览。关于这个模板
一款可在浏览器中完整游玩的 Roguelike 卡牌构筑游戏,背景设定在被风暴摧毁的浮空群岛链上。打开即进入一场进行中的回合制战斗,包含能量、格挡、状态效果、清晰的敌人意图标记和精确的实时伤害预览。游戏包含 60 张原创代码绘制卡牌及升级(+)版本、20 件遗物、三幕分支节点地图(战斗、精英、商店、休息锚地、风暴事件)、会在战斗中翻转卡牌属性的潮汐变化幕 Boss、完整的牌组查看器、卡牌奖励、对局总结,以及保存在 localStorage 中的种子每日攀爬。
模板提示词
在线演示就是用这份提示词原样做出来的,没有额外补充。其他案例只是改了 [VARIABLES] 变量的值。 提示词保持英文原版,国内常用的 AI 编程工具都能直接理解;下面附中文参考译文。
# Roguelike Deckbuilder Card Game
Build this website exactly as described below. Replace the [VARIABLES] with your own values; keep everything else.
## Brief
Build a complete tactical roguelike deckbuilder web game titled [BRAND] by [STUDIO_NAME] starring [HERO_NAME], a lighthouse keeper ascending [WORLD_NAME], a storm-wrecked chain of floating islands. The first screen launches directly into an active turn-based battle—never an empty menu—showing [HERO_NAME] with HP, Block, Energy, Relics, and 5 fanned hand cards facing storm-born enemies with unmistakable Intent badges and exact live damage previews (accounting for Strength, Weak, Vulnerable, and High/Low Tide). Include a complete catalog of 60 original code-illustrated cards with upgraded (+) versions, 20 collectible relics, 3 escalating acts with a branching node map (Fights, Elites, Lantern Shops, Rest Anchorages, Storm Events, and Tide-Flipping Bosses that invert High/Low Tide rules mid-fight), Card Reward drafts, Deck/Compendium Viewer, Run Summary, Seeded Daily Climb, keyboard shortcuts (1–5 play cards, E end turn), and full localStorage run persistence.
- Audience: Strategy card gamers, roguelike fans, and web-game creators looking for a deep, responsive browser deckbuilder.
- Goal: Put visitors straight into satisfying tactical card play on frame one with crystal-clear intent telegraphing, snappy hand animations, and genuine strategic depth across 60 cards and 20 relics.
- Tone: Atmospheric storm-lit maritime fantasy—weathered brass lanterns, sea-glass clarity, and crisp tactical precision.
## Stack
- Framework: Vite 6 + React 18 + TypeScript
- Styling: Tailwind CSS 4
- Libraries: lucide-react (ISC), @fontsource/cinzel (OFL-1.1), @fontsource/inter (OFL-1.1), @fontsource/jetbrains-mono (OFL-1.1)
- Build: `npm run build` → static files in `dist/`. No backend, no server code, no external APIs.
- Setup:
- Set base: './' and build: { sourcemap: false } in vite.config.ts.
- Import @fontsource/cinzel (600, 700), @fontsource/inter (400, 500, 600), and @fontsource/jetbrains-mono (400, 500, 600) in src/main.tsx.
- Author the complete catalog of 60 original nautical cards (each with base and upgraded + stats, suit: Lamp / Tide / Hull / Storm, rarity, cost, and code-drawn SVG emblem art) and 20 relics in src/game/catalog.ts.
- Author deterministic seeded PRNG, 3-act branching map generator, turn-based combat engine with exact damage preview calculation, Tide State mid-boss rule flipping, status effects (Block, Flare/Strength, Soaked/Vulnerable, Fogged/Weak, Burn, Ward), shop/rest/event handlers, and localStorage run save in src/game/engine.ts.
- Draw original SVG illustrations for the lighthouse keeper, storm enemies/bosses, floating-island backdrop, and card emblems in src/components/NauticalArt.tsx.
## Variables
- [BRAND] — Game Title (default: "Lantern Spire"). Fictional roguelike deckbuilder title
- [HERO_NAME] — Protagonist Name (default: "Keeper Mira"). Name of the playable lighthouse keeper
- [WORLD_NAME] — Archipelago Name (default: "The Shattered Archipelago"). Name of the storm-wrecked floating island chain
- [STUDIO_NAME] — Studio Imprint (default: "Foghorn Interactive"). Fictional indie game studio credit
- [CREDIT] — keep a small "Template by VibeFather" link to https://vibefather.ai/t/roguelike-deckbuilder-card-game in the footer (default: yes; delete this line to remove it)
The copy under Pages & Sections is written for the default values. If your values differ, rewrite every headline, paragraph, label and image for them — same length, tone and structure. Layout, colors, type and motion stay as described.
Keep all copy, image paths and links in one content file (for example `src/content.ts`), keyed by section, so the content can be swapped later without touching components.Pro 模板
解锁完整提示词和源码
- 完整提示词:设计、版块、动效、素材
- 每个在线演示的源码
- 商用授权
在线演示和 DESIGN.md 仍然免费。
DESIGN.md
单独的设计规范:配色、字体、间距和动效。可以把这套视觉用到你已有的项目上。
---
name: "Roguelike Deckbuilder Card Game"
colors:
storm_navy: "#14213D"
hull_slate: "#1C2D50"
sea_glass: "#7FD1C7"
lamp_amber: "#FFB347"
parchment: "#F4ECD8"
squall_crimson: "#E85D75"
typography:
game_title_act_banners_card_headers: { family: "Cinzel", weights: [600, 700] }
card_rules_text_event_narrative: { family: "Inter", weights: [400, 500, 600] }
hp_block_energy_seed_codes: { family: "JetBrains Mono", weights: [400, 500, 600] }
spacing: "Full-viewport storm-lit tactical arena on desktop (compact top expedition HUD bar, central floating-island combat stage, bottom interactive fanned hand tray) adapting smoothly into a scrollable single-column combat layout on 390px mobile."
radius: "12px for playing cards with brass/sea-glass rarity border; 10px for HUD plates and action buttons."
---
# Roguelike Deckbuilder Card Game — Design System
Apply this design system to an existing project. It describes the look and feel only; for the full site, use prompt.md.
## Colors
- **Storm Navy** `#14213D` — Primary tactical battleground and deep twilight sea sky
- **Hull Slate** `#1C2D50` — HUD panels, map nodes, enemy plates, and modal drawers
- **Sea Glass** `#7FD1C7` — Block shields, Tide suit highlights, draw pile, and active map paths
- **Lamp Amber** `#FFB347` — Energy orb, Lamp suit attacks, upgraded (+) cards, and relic glow
- **Parchment** `#F4ECD8` — High-contrast readable card faces, tooltips, and primary typography
- **Squall Crimson** `#E85D75` — Enemy attack intents, HP damage flashes, and elite/boss markers
## Typography
- **Game Title, Act Banners & Card Headers** — Cinzel (OFL), weights 600/700. Self-host the font files.
- **Card Rules Text & Event Narrative** — Inter (OFL), weights 400/500/600. Self-host the font files.
- **HP, Block, Energy & Seed Codes** — JetBrains Mono (OFL), weights 400/500/600. Self-host the font files.
## Spacing & shape
- Spacing: Full-viewport storm-lit tactical arena on desktop (compact top expedition HUD bar, central floating-island combat stage, bottom interactive fanned hand tray) adapting smoothly into a scrollable single-column combat layout on 390px mobile.
- Radius: 12px for playing cards with brass/sea-glass rarity border; 10px for HUD plates and action buttons.
## Motion
- Snappy hover lift and tilt on fanned hand cards with real-time live damage calculation highlighted in amber/green/red.
- Smooth hit-flash and floating damage/block popups on targets when cards resolve.
- Atmospheric Tide Shift banner and visual tint transition when act bosses flip High Tide (Tide cards +40%) and Low Tide (Lamp cards +40%) mid-fight.
- Under prefers-reduced-motion, disable card sway and combat shake while preserving clear instant state updates.
## Imagery
Original layered inline SVG illustrations for the lighthouse keeper, floating stone islands, lightning clouds, 12 enemy & boss silhouettes, 20 relic icons, and 60 distinct card emblem frames.
## Tone
Atmospheric storm-lit maritime fantasy—weathered brass lanterns, sea-glass clarity, and crisp tactical precision.
---
Inspired by Storm Lighthouse Roguelike Deckbuilder by @kimmonismus — https://news.sulat.com/
— Prompt by VibeFather · https://vibefather.ai/t/roguelike-deckbuilder-card-game · CC BY-NC 4.0 (non-commercial; commercial use needs a VibeFather Pro license) · Request removal: https://vibefather.ai/takedown
改成你自己的
- 独立开发者发布首款浏览器卡牌游戏:设置 BRAND 和 STUDIO_NAME,然后围绕你自己的世界重命名 60 张卡牌和 20 件遗物后再发布。
- 桌游工作室数字化测试实体卡牌构筑游戏:保留能量、格挡和意图系统,并重新换皮四种花色以匹配你印刷卡牌的阵营。
- 游戏设计教师演示 Roguelike 系统:将 HERO_NAME 和 WORLD_NAME 指向课堂项目,并使用种子每日攀爬让每个学生获得相同的对局。
- 主播打造品牌化游玩空间:将 BRAND 设置为你的频道,保留 1–5 和 E 的键盘快捷键,并将对局总结链接到你的社区帖子中。
Roguelike 卡牌构筑游戏:常见问题
打开 Roguelike 卡牌构筑游戏模板后我能得到什么?
Roguelike 卡牌构筑游戏模板打开后直接进入一场进行中的回合制战斗,而不是菜单。你会看到灯塔看守人 Mira,带有生命值、格挡、能量和遗物,面对带有意图标记和实时伤害预览的风暴敌人,还有五张扇形展开的手牌。在首屏之后,是 60 张原创代码绘制卡牌及升级(+)版本、20 件遗物、三幕分支节点地图、商店、休息锚地、风暴事件和潮汐翻转 Boss。
Roguelike 卡牌构筑游戏中的潮汐变化 Boss 和状态效果是如何运作的?
Roguelike 卡牌构筑游戏模板为每张卡牌分配四种花色之一:灯、潮、船体或风暴。幕 Boss 会在战斗中翻转高潮和低潮规则,反转获得加成的花色,因此上一回合还很强的手牌可能需要重新考虑。伤害预览会计算闪光(力量)、迷雾(虚弱)、浸湿(易伤)、灼烧、守护和格挡,所以你确认前敌人身上的数字是精确的。
怎么用 AI 做一个Roguelike 卡牌构筑游戏?
复制本页的完整提示词(Pro),或者运行 npx vibefather add roguelike-deckbuilder-card-game,把 [BRAND]、[HERO_NAME]、[WORLD_NAME]、[STUDIO_NAME] 换成你自己的内容,再粘贴到 Claude Code、Codex、Cursor 等 AI 编程工具里。在线演示就是用这份提示词原样做出来的。
Roguelike 卡牌构筑游戏模板的演示是哪个 AI 模型做的?
演示由 Gemini 4 Neon 在 Antigravity 里完成;另一个案例由 GPT-6.2 Sol 在 Codex 里完成。每次都用公开的提示词原样生成,没有额外补充,可以并排比较不同模型的效果。