nickgermaine / python_text_battle

Simple rpg type text-based python battle script
103 stars 48 forks source link

Optimised game.py #16

Open AryaDeepanshu opened 3 years ago

AryaDeepanshu commented 3 years ago

Optimised code for printing stats properly. Removed unnecessary while loops and changed code of 20+ line with just 4 lines of code, without losing any functionality