Skip to content

The-Forge200/TheWalkingCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apocalypse Game — Beginner Python OOP Exercise

This small project introduces:

  • Python classes
  • Object attributes
  • Methods
  • Basic program flow
  • Unit testing

🎮 Story

The world ended (again). You are just trying to survive. Good luck.

🧩 Your Tasks (TODOs)

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

✅ Running the Game

About

Get it?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages