Hey all, for my project I made a simple guessing game. It’s nothing crazy but I’m happy with the result.
I would love to get some feedback on how to improve my code, here is the git repo: mittaan/codecademy_python_1 (github.com)
Thank you in advance!
I’m new to the forums and the github website. Do you know how I can run your code so I can play the game?
You have two choices:
Once you’ve done it, you can start playing either by clicking the main.py file or open the project in VS Code and execute the main.py file.
I did an oopsie-daisy that I’ll fix immediately, if you open the file from the directory it’ll close the terminal once it’s done.
Thank you
You seem to have a really good grasp of classes and using them. I like the ability to set difficulty and the scoring system. Couple bugs: the final row seems to be an automatic win, and on medium and hard mode the board doesn’t label the columns past 3. Maybe put an “x” on the board for missed guesses.
Thank you for the feedback! I have some prior experience working with classes in other languages, mainly C++. I encountered that bug a couple of times but I thought I had fixed it already, now I did some proper testing so I’m positive that it’s resolved. I like the idea of changing the board based on previous wrong guesses! I will think of some way to add it to the game.