LogFAQs > #957590969

LurkerFAQs, Active DB, DB1, DB2, DB3, DB4, DB5, DB6, DB7, Database 8 ( 02.18.2021-09-28-2021 ), DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicITT: Learning Python
SpiritSephiroth
08/30/21 8:13:45 PM
#196:


Okay! I think something finally clicked. I just threw the whole code into the while loop and it works. And because I'm using classes, its not as messed up as it would have been if I didn't learn it while trying to figure this mess out!

In other words, my code is in the clear for now. I can finally continue with this madness and expand on it!



My code so far. Im actually glad I had trouble here, because it forced me to learn Classes more thoroughly and now I have a better understanding of it overall!

Edit: Just realized, I'll need to move the Imps code within the While loop as well so it can roll its strength stats randomly like the player code. But other than that, I can continue finally. Also ignore that "character stats" variable. I forgot to remove it.

---
... Copied to Clipboard!
Topic List
Page List: 1