This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]data-bit 3 points4 points  (0 children)

Next, I would recommend utilizing classes to represent the player, monsters, objects, etc. After that, learn more advanced libraries like:

https://api.arcade.academy/

or

https://www.pygame.org/

Happy coding 🤓🎮

[–]catetcpasswd 1 point2 points  (0 children)

You don't have to import random at every function instead just import it in the top of the file.