Create an RPG character sheet with stat bars, inventory grid, equipment slots, skill…
- User
Create an RPG character sheet with stat bars, inventory grid, equipment slots, skill tree, and dice roll integration.
Assistant
I'll build a polished RPG character sheet with a dark fantasy aesthetic (obsidian + ember/gold), featuring all the requested systems. Let me plan the file structure and then create everything in parallel.
Plan:
types.ts+data.ts— shared types and starter items/skills- Components:
Header,StatBars,Equipment(paperdoll),Inventory(grid),SkillTree,DiceRoller App.tsxcomposes everything with shared state (drag-to-equip, dice history with crits, skill point allocation)
Let me create all files now.
Now let me build the project to verify everything works correctly.
Build succeeded cleanly. Here's what I built:
Grimoire — RPG Character Sheet
A dark-fantasy themed character sheet with obsidian + ember/gold palette, using the Cinzel display font for that grimoire feel.
Features
Header — Character portrait, name, title, level badge, XP bar, vertical HP/MP vials with glow, gold counter, and quick damage/heal/regen buttons to test the vitals.
Attribute Bars — All 6 classic stats (STR, DEX, CON, INT, WIS, CHA) with color-coded gradient bars, auto-computed D&D-style modifiers, tick marks every 5 points, and +/- buttons that appear on hover. Derived stats (AC, Initiative, Proficiency) shown below.
Equipment Paperdoll — SVG silhouette with 11 slots (head, shoulders, chest, gloves, legs, boots, mainhand, offhand, amulet, 2 rings) arranged around the body. Highlights compatible slots when an inventory item is selected. Supports drag-drop.
Inventory Grid — 6×5 grid (30 slots) with rarity-colored borders (common → legendary glow). Drag items between cells to rearrange, drag onto equipment to equip (swaps with whatever was there). Hover tooltips show full stats, damage/armor, and flavor text.
Skill Tree — Three branches (Might / Arcane / Shadow), each with 6 interconnected nodes, prerequisites enforced, rank badges, click to invest / right-click to refund. Available skill points displayed prominently.
Dice Roller — Full set (d4, d6, d8, d10, d12, d20, d100) with count & modifier inputs. Animated shake-tumble roll, large result display with die-specific color glow, critical hit / fumble detection on d20, and a scrollable history of the last 15 rolls.
Interactions wired up
- Drag items between inventory ↔ equipment (with swap-back behavior)
- Invest/refund skill points (with prerequisite checking)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.