@hopebrooke/

characters

Python

No description

fork
loading
Files
  • main.py
  • character.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
from character import Character
liam = Character("jolylon", "a cute elf")
liam.describe()
liam.set_conversation("stay safe stay sober love jesus")
liam.talk()

from character import Enemy
dan = Enemy("chad", "a rude zombie")

dan.set_weakness("banana")

fight_with = input("What will you fight with?  \n")
dan.fight(fight_with)