🏗️ Unit 1 Capstone Project
Character Creator
Put everything from Unit 1 together. Build a program that collects player info, crunches the numbers, and prints a polished character sheet.
Project Brief
What You're Building
Collect Character Info
Read a character name, class, and level from input
Set Base Stats
Assign strength, defense, magic, and speed values
Calculate Derived Stats
Use formulas to compute HP, attack power, and more
Print a Character Sheet
Format everything into a clean, readable display using f-strings
variables
str / int / float
type conversion
f-strings
arithmetic
// and %
input()
📐 Stat Formulas
Your program must calculate these derived stats from the base stats and level. Use these exact formulas — the auto-grader checks the results.
HP(defense * 5) + (level * 10)
Attack(strength * 2) + level
Spell Power(magic * 3) + (level // 2)
Dodge %speed * 1.5
Print the character sheet in this format (your program's output must match):
══════════════════════════════ CHARACTER SHEET ══════════════════════════════ Name: Kira Class: Mage Level: 5 ────────────────────────────── Strength: 8 Defense: 6 Magic: 14 Speed: 10 ────────────────────────────── HP: 80 Attack: 21 Spell Power: 44 Dodge %: 15.0 ══════════════════════════════
⌨️ Simulated Player Input
Editable💡 These values are fed to your
input() calls in order. Change them to test different characters!