-- Part 3 mini-project: Character Sheet -- starter. -- -- Finish this file so it prints a formatted character sheet at the -- end. See the chapter page for the full spec. -- -- Run with: lua projects/02-character-sheet/starter.lua -- TODO: prompt for name (text) -- io.write(...) -- local name = io.read() -- TODO: prompt for class (text) -- TODO: prompt for level (whole number) -- wrap io.read in tonumber -- TODO: prompt for hp (whole number) -- TODO: prompt for mp (whole number) -- TODO: compute power = hp + mp * 2 + level * 10 -- TODO: print the character sheet. Use string.format for the labelled -- lines and string.rep for the borders.