Did you manage to implement all TODOs? Share it below 👇 And big thanks to Replit for making this video possible! Check it out here: replit.com?KZbin&YT_SEO& * My code: replit.com/@PythonEngineer1/Mini-Games-1 ---------------------------------------------------------------------------------------------------------- * This is a sponsored link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
@victorcampos55982 жыл бұрын
in the Wordle game, the only change for the TODO is: with open("words.txt", "r") as db: words = db.readlines()
@patloeber2 жыл бұрын
Almost! Try it, but there is one more small fix you have to do then
@victorcampos55982 жыл бұрын
@@patloeber what else?
@patloeber2 жыл бұрын
@@victorcampos5598 when you readlines() the words look like this: "hello ". So you must remove the new line characters...
@tanavposwal2 жыл бұрын
This video deserves 1million Keep it up
@patloeber2 жыл бұрын
thank you!!
@funnymomentsandlifesstorie45332 жыл бұрын
Can you please make django tutorials,Mr. Patrick? Something like portfolio..........
@Music_PsyQuake2 жыл бұрын
While python is not the best language to make games, i love the content and work you put in for beginners as most noob programmers mess around with games a lot!
@kajekage94102 жыл бұрын
What do you think is best for making games?
@baristoprak2 жыл бұрын
@@kajekage9410 unity uses c# and unreal engine uses c++
@kajekage94102 жыл бұрын
@@baristoprak ok?
@Ngonie_32 жыл бұрын
TODO for Guess The Number: value = input(txt) if value == "1": upper_limit = int(input("Choose a number to represent the upper limit: ")) guess_the_number(upper_limit) TODO for Rock Paper Scissors (Not entirely sure if I correctly understood the task): while True: user_input = input(f"Select a choice either {r}, {p} or {s}: ") computer_input = random.choice(all_choices) if user_input not in all_choices: print("Invalid Choice") return print(f"You chose {user_input} and The Computer chose {computer_input}") if user_input == computer_input: print("Tie") elif user_input == r and computer_input == s: print(f"You won. {r} smashes {s}") elif user_input == p and computer_input == r: print(f"You won. {p} covers {r}") elif user_input == s and computer_input == p: print(f"You won {s} cuts {p}") elif computer_input == r and user_input == s: print(f"The Computer won. {r} smashes {s}") elif computer_input == p and user_input == r: print(f"The Computer won. {p} covers {r}") else: print(f"The Computer won. {s} cuts {p}") play_again = input("Do you want to play again? (Y/N): ") if play_again.lower() != "y": break
@sweetie_py2 жыл бұрын
I am a Data Science student and wanting to improve my coding skills. Is it important to practice building games to improve my coding skills in the data field? like is the thought process for these two related? btw, thanks for the tutorial. love it! ❤️
@K0orne2 жыл бұрын
Just started learn Python. Made my first Quiz game project with using excel file as a question library with randomly shuffled questions and checking all user inputs... And now I feel so dumb after this video xD
@patloeber2 жыл бұрын
haha, great you found the video then :)
@alecduvenage20012 жыл бұрын
Does rich work in Pycharm? Because I installed it and followed the video, but the colors aren't working for me. Love the video btw!
@s4sumeetmishra2 жыл бұрын
Thank you 😊
@champfisk56132 жыл бұрын
Nice man!
@its_code2 жыл бұрын
😍❤️❤️💕 WOW amazing 😍😄
@dominion27342 жыл бұрын
Liebe, Glaube, Leidenschaft❤
@patloeber2 жыл бұрын
FCN!
@serychristianrenaud2 жыл бұрын
Thanks 😀😀😀
@narutoxboruto8732 жыл бұрын
Thanks :)
@vikasrathod8552 жыл бұрын
can you share todo of wordle game?
@sampson2172 жыл бұрын
Hell yeah
@lolpepper7072 жыл бұрын
re: WORDLE. You know that's NOT how WORDLE is scored, right? Examples : target = QUIET guess = EVADE should score 10000 and not (as your implementation gave) 10001* (explanation -- only the first instande of E in the guess should count against the _single_ instance of E in target) or target = QUIET guess = TWEET should score 00022 and not (as your implementation would give) 10122* (explanation -- the final ___ET in the guess TWEET are in correct position, so each letter scores 2. Having already been scored against the _single_ instances of E and T in target, there is nothing for the "remaining" TWE__ to score against) *where 1 = letter in word but not in right place 2 = letter in word in correct place and each scoring letter in guess is scored only once (scores of 2 preferred over scores of 1)