All Questions
3 questions
2
votes
1
answer
841
views
Re-implementing an Array Class in Python
I gave an attempt at reinventing the wheel and recreate list methods using my own Array Class to broaden my understanding about lists. I would like advice regarding efficiency, and in implementing ...
2
votes
0
answers
466
views
Beginner grid-based game movement engine (PART 2)
I've tried to make the code overall more PEP-8 friendly and added more comments to make it more readable. Added some new functions and methods like ranged attack and allegiance.
Play around with it. ...
6
votes
3
answers
18k
views
Beginner grid-based game movement engine
Tell me how I can make it more efficient, shorter. How I can make it adhere more to convention? Is there some stuff I'm doing that you would do in a better way?
The main gist is that I create and ...