๐ Day 1 of hashtag#freeCodeCamp: Building an RPG Character Creator in Python ๐
Iโm officially starting my hashtag#BuildInPublic journey! To kick things off, I just completed a project where I built a Python application to generate RPG characters with strict "game balance" logic.
The Challenge:
It wasnโt just about printing text; I had to ensure the character followed specific rules using Python functions and input validation.
Key Features:
โ
Smart Validation: Names must be < 10 characters with no spaces.
โ
Balanced Stats: STR, INT, and CHA must be between 1โ4, and the total must equal exactly 7.
โ
Visual UI: Built a custom representation using full (โ) and empty (โ) dots.
Example Output:
ren
STR โโโโโโโโโโ
INT โโโโโโโโโโ
CHA โโโโโโโโโโ
๐ก Skills Practiced:
โข Python functions & conditionals.
โข Type and value validation.
โข String manipulation & formatting.
โข Problem-solving with multiple constraints.
This was a great way to combine logic with a bit of creativity. Huge thanks to @freeCodeCamp for the curriculum!
Onward to Day 2. ๐ฎ
hashtag#Python hashtag#100DaysOfCode hashtag#CodingChallenge hashtag#RPG hashtag#Programming hashtag#freeCodeCamp hashtag#SoftwareDevelopment hashtag#PythonProjects
Top comments (0)