r/PythonLearning • • Sep 24 '26

What do you guys think of my hangman game?

I made a hangman game, im still a beginner, can you guys rate my code? what can i improve?

https://github.com/hepiadista/python

7 Upvotes

2 comments sorted by

•

u/Sea-Ad7805 Sep 24 '26 edited Sep 24 '26

Run this program by clicking Memory Graph Web Debugger and see its state change step by step.

Shit, now I'm dead.

2

u/dev-razorblade23 Sep 24 '26

Have not run the code, but it seems ok. You do know that you can pass arguments to functions? Maybe improve on that section.

And learn how to use git for proper source code versioning. Do not use GitHub "Upload file" buttons, use git like a real developer, it is not hard to learn but gives you superpowers with your code.

Start reading here: https://medium.com/@schmidlinicole/git-for-absolute-beginners-4d53c9cf3bb2