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've created a complete RPG Character Sheet web application with all the requested features. Here's what was built:
Files Created/Modified:
- index.html - Updated title to "RPG Character Sheet"
- src/types.ts - TypeScript interfaces for all data structures
- src/components/StatBars.tsx - Character stats with health/mana bars and modifiers
- src/components/InventoryGrid.tsx - 20-slot inventory grid with filtering and search
- src/components/EquipmentSlots.tsx - 10 equipment slots with AC and attack bonus calculations
- src/components/SkillTree.tsx - 5-tier skill tree with prerequisites and point investment
- src/components/DiceRoller.tsx - Dice roller supporting d4-d100 with modifiers and history
- src/App.tsx - Main component integrating all features
Features:
✅ Stat Bars - 6 core attributes (STR, DEX, CON, INT, WIS, CHA) with health/mana bars, level/EXP, and gold ✅ Inventory Grid - 20 slots with item filtering, search, use/drop actions, and rarity indicators ✅ Equipment Slots - 10 slots (head, chest, legs, feet, hands, weapon, shield, amulet, ring, belt) with stats ✅ Skill Tree - 17 skills across 5 tiers with prerequisites, point investment, and unlock progression ✅ Dice Roller - d4, d6, d8, d10, d12, d20, d100 support with modifiers, animations, and roll history ✅ Quick Stats Panel - Inventory value, total items, equipped count, skills learned, dice rolls ✅ Character Notes - Textarea for custom notes
The application uses React + TypeScript, Vite, and Tailwind CSS with a dark fantasy theme. The build completed successfully and the
dist/index.htmlfile is ready to serve.Files built:
index.html,src/types.ts,src/components/StatBars.tsx,src/components/InventoryGrid.tsx,src/components/EquipmentSlots.tsx,src/components/SkillTree.tsx,src/components/DiceRoller.tsx,src/App.tsx
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.