2 cases built from this template
Same prompt, different [VARIABLES]. Click one to preview it above.About this template
A complete browser-playable roguelike deckbuilder set on a storm-wrecked chain of floating islands. Opens directly inside an active turn-based battle with energy, block, status effects, clear enemy intent badges, and exact live damage previews. Features 60 original code-illustrated cards with upgraded (+) versions, 20 relics, three acts with branching node maps (fights, elites, shops, rest anchorages, storm events), tide-shifting act bosses that flip card affinities mid-fight, a full deck viewer, card rewards, run summary, and a seeded Daily Climb persisted in localStorage.
The template prompt
The live demo was built from exactly this text — nothing added. The other cases only change the values of the [VARIABLES].
# 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 template
Unlock the full prompt and the source code
- The full prompt: design, sections, motion, assets
- Source code of every live demo
- Commercial license
The live demo and DESIGN.md stay free.
DESIGN.md
The design system on its own — colors, type, spacing and motion. Apply this look to a project you already have.
---
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
Make it yours
- A solo indie developer shipping a first browser card game: set BRAND and STUDIO_NAME, then rename the 60 cards and 20 relics around your own world before publishing.
- A tabletop studio testing a physical deckbuilder digitally: keep the energy, block and intent system, and reskin the four suits to match your printed card factions.
- A game design teacher demonstrating roguelike systems: point HERO_NAME and WORLD_NAME at a class project and use the seeded Daily Climb so every student gets the same run.
- A streamer building a branded play space: set BRAND to your channel, keep the keyboard shortcuts for 1–5 and E, and link the run summary into your community posts.
Roguelike Deckbuilder Card Game: questions and answers
What do I get when I open the Roguelike Deckbuilder Card Game template?
The Roguelike Deckbuilder Card Game template opens directly into an active turn-based battle, not a menu. You see Keeper Mira with HP, Block, Energy and Relics facing storm-born enemies with Intent badges and live damage previews, plus five fanned hand cards. Behind that first screen sit 60 original code-illustrated cards with upgraded (+) versions, 20 relics, three acts of branching node maps, shops, rest anchorages, storm events and tide-flipping bosses.
How do the tide-shifting bosses and status effects work in the Roguelike Deckbuilder Card Game?
The Roguelike Deckbuilder Card Game template gives every card one of four suits: Lamp, Tide, Hull or Storm. Act bosses flip the High and Low Tide rules mid-fight, inverting which suit gets the bonus, so a hand that was strong a turn ago may need rethinking. Damage previews account for Flare (Strength), Fogged (Weak), Soaked (Vulnerable), Burn, Ward and Block, so the number on an enemy is exact before you commit.
Can I change the game title, hero and world in the Roguelike Deckbuilder Card Game template?
Yes. The Roguelike Deckbuilder Card Game template is driven by four variables: BRAND for the game title, HERO_NAME for the playable lighthouse keeper, WORLD_NAME for the floating island chain and STUDIO_NAME for the studio imprint. Set them to your own names and the prompt asks the AI agent to rewrite every headline, paragraph, label and image reference to match, keeping the same layout, colors, type and motion.
Where is my run saved in the Roguelike Deckbuilder Card Game template, and is there a daily run?
The Roguelike Deckbuilder Card Game template persists your run in the browser's localStorage, so closing the tab and returning keeps your act, deck, relics and map position. It also includes a seeded Daily Climb, which generates the same map and card rewards for a given seed so two players can compare runs. There is no backend, server code or external API in the build.
Can I use the Roguelike Deckbuilder Card Game template for a commercial game or client project?
Commercial and client use of the Roguelike Deckbuilder Card Game template requires Pro, and Pro is also what unlocks the full prompt and the source code of the demos. The published brief, stack and variables are visible to everyone, and every DESIGN.md is free for personal, non-commercial use under CC BY-NC 4.0. The demos were built by Gemini 4 Neon in Antigravity and GPT-6.2 Sol in Codex.
How do I build a roguelike deckbuilder card game with AI?
Copy the full prompt (Pro) from this page or run npx vibefather add roguelike-deckbuilder-card-game, replace [BRAND], [HERO_NAME], [WORLD_NAME] and [STUDIO_NAME] with your own content, and paste it into Claude Code, Codex, Cursor or another AI coding agent. The live demos were built from exactly that text.
Which AI model built the Roguelike Deckbuilder Card Game demo?
The Lantern Spire · Keeper Mira case was built by Gemini 4 Neon in Antigravity; the Beacon Drift · Warden Corvus case was built by GPT-6.2 Sol in Codex. Each build used the published prompt with nothing added, so you can compare the models side by side.
What tech stack and pages does the Roguelike Deckbuilder Card Game template use?
Roguelike Deckbuilder Card Game is a single-page site built with React, Vite and Typescript, with card animations, interactive map and procedural svg. The prompt fixes the stack so every AI tool builds the same kind of project, and the result runs as a static site you can host anywhere.
Is the Roguelike Deckbuilder Card Game template free to use?
Roguelike Deckbuilder Card Game is a Pro template: the brief, stack and variables are public, and the full prompt, the source code of the live demo and a commercial license come with VibeFather Pro. Its DESIGN.md is free for personal projects.
Does the Roguelike Deckbuilder Card Game template work on mobile?
Yes. Every Roguelike Deckbuilder Card Game build was tested on a phone-sized screen as well as desktop before it went live, checking layout, text size and touch targets. Open the live demo on your phone, or switch the preview on this page to mobile view, to check it yourself.