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.
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.