This small project introduces:
- Python classes
- Object attributes
- Methods
- Basic program flow
- Unit testing
The world ended (again). You are just trying to survive. Good luck.
You must finish incomplete methods in:
| File | Method(s) To Complete | Description |
|---|---|---|
| survivor.py | heal() |
Increase health but max = 100 |
| survivor.py | remove_item() |
Remove item if exists |
| zombie.py | health attribute |
Add health to zombie |
| zombie.py | take_damage() |
Reduce zombie health |
| zombie.py | is_dead() |
Return True if health <= 0 |