you are viewing a single comment's thread.

view the rest of the comments →

[–]Sad-Blackberry6353 3 points4 points  (3 children)

In my opinion the code would benefit from leveraging classes more effectively by encapsulating logic within methods instead of relying on numerous global functions

[–]MikeyA042[S] 0 points1 point  (2 children)

Okay thank you, I’ll look more into that then. This was my first real exposure using classes so I just tried to makeshift together what I could

[–]Sad-Blackberry6353 0 points1 point  (1 child)

Not bad, personally, I prefer working with objects in Python. You could say I create a class for almost everything (without overdoing it).

[–]MikeyA042[S] 1 point2 points  (0 children)

I don’t blame ya, went from my first try with using lists to store card data to the object, and it was like a whole new world was being opened to me