Skip to content

Instantly share code, notes, and snippets.

View chrisclc's full-sized avatar

Chris Cheng chrisclc

View GitHub Profile
# Each player starts with the same basic stats.
player = { strength: 10, dexterity: 10, charisma: 10, stamina: 10 }
# Then the player picks a character class and gets an upgrade accordingly.
character_classes = {
warrior: { strength: 20 },
thief: { dexterity: 20 },
scout: { stamina: 20 },