Battle Loop, Inheritance, Polymorphism etc | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Battle Loop, Inheritance, Polymorphism etc

Hey everyone! Today I made a script that played off a simple battle sequence the only real way I know how. Yet it looked really sloppy and messy. I was wondering if one of ya'll maybe could give me some tips (or show me) how I could make this look more clean. CODE: https://code.sololearn.com/cBy193Uwm5PL/#cs

18th Dec 2018, 2:38 PM
Okan Özbek
Okan Özbek - avatar
1 Answer
+ 1
Inheritance, polymorphism, etc. are concepts of Object Oriented Programming - Oop. It would help if you look into this concepts
29th Dec 2018, 1:33 PM
Da2
Da2 - avatar