CSI-280 / python-game

Python roguelike for CSI-280
0 stars 0 forks source link

Completed basic implementation of damage system #62

Closed JoshBogin closed 4 years ago

JoshBogin commented 4 years ago

I added the basic fighting mechanics to the game. Players can now attack zombies for a given amount of damage and the zombies will die after taking a given amount of damage. Zombies use the previously implemented ai in order to move to players and attack them for a set amount of damage and then the players will also die after running out of health. When the player dies, the game effectively ends as it will never become the player's turn again.