Can anyone identify the bug in my code?

3 posts were merged into an existing topic: Day 028 - Project 28 : Battle Time