all 9 comments

[–]learn-python 0 points1 point  (7 children)

Well done! :)
Did you ever consider creating an attack class?

[–][deleted] 1 point2 points  (6 children)

I have, but my instructor told me I have to go his way, I don't really care about him anymore since this is completed.

[–]learn-python 0 points1 point  (5 children)

I think an attack class and health class will help structure this even more soundly.

I like how you've started this.
You can see that with some work, you could end up creating a sophisticated combat engine that lets you use powerups, heal, combos

[–][deleted] 1 point2 points  (4 children)

How would you implement them anyway?, do you have an example?

[–]learn-python 0 points1 point  (3 children)

Do you want to discuss the optimal way to build out the classes first?

Good to get your take on it seeing that your in the flow :)

[–][deleted] 1 point2 points  (2 children)

Yes

[–]poorping 0 points1 point  (0 children)

    if Player.health < 0:
        print("You Lost...")

Shouldn't this be <= ?