![]() ![]() The player has six chances to guess the correct word.Įach round you will receive basic information about your guess. Wordlib.txt is a text file with a new 5 letter word on each line. This game chooses a random 5 letter word from wordlib.txt and Seemingly there is no absolute correct variable naming conventions (to my knowledge) so I went with lower case function names with underscores (def word_validation) and camelCase variable names.Īs for the basic layout for code I know not required for Python it is still good to have a Main method but I am not sure that I call it from the bottom of my program, where I currently am.īasically, I am asking if anyone has any suggestions on formatting for my code, minor optimizations I can make, or telling me I wrote spaghetti and how to maybe clean it up. One of the main concerns I have while programming is the fear of just writing pure unreadable spaghetti code that would never be accepted by anyone who has a lot more experience than myself.Īnother one of my main concerns is basic naming conventions and basic code format. I have all of the functionality I wanted working, for example, basic input filtering. With all the fuss going around about the popular word game "Wordle" I wanted to challenge myself with the task of creating my own clone version of it. I am a beginner programmer with not much experience, the little I do have is with Python specifically. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |