Build 5 Games in Python | Beginner Portfolio Project

  Рет қаралды 16,991

Patrick Loeber

Patrick Loeber

Күн бұрын

Пікірлер
@patloeber
@patloeber 2 жыл бұрын
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! 🙏
@victorcampos5598
@victorcampos5598 2 жыл бұрын
in the Wordle game, the only change for the TODO is: with open("words.txt", "r") as db: words = db.readlines()
@patloeber
@patloeber 2 жыл бұрын
Almost! Try it, but there is one more small fix you have to do then
@victorcampos5598
@victorcampos5598 2 жыл бұрын
@@patloeber what else?
@patloeber
@patloeber 2 жыл бұрын
@@victorcampos5598 when you readlines() the words look like this: "hello ". So you must remove the new line characters...
@tanavposwal
@tanavposwal 2 жыл бұрын
This video deserves 1million Keep it up
@patloeber
@patloeber 2 жыл бұрын
thank you!!
@funnymomentsandlifesstorie4533
@funnymomentsandlifesstorie4533 2 жыл бұрын
Can you please make django tutorials,Mr. Patrick? Something like portfolio..........
@Music_PsyQuake
@Music_PsyQuake 2 жыл бұрын
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!
@kajekage9410
@kajekage9410 2 жыл бұрын
What do you think is best for making games?
@baristoprak
@baristoprak 2 жыл бұрын
@@kajekage9410 unity uses c# and unreal engine uses c++
@kajekage9410
@kajekage9410 2 жыл бұрын
@@baristoprak ok?
@Ngonie_3
@Ngonie_3 2 жыл бұрын
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_py
@sweetie_py 2 жыл бұрын
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! ❤️
@K0orne
@K0orne 2 жыл бұрын
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
@patloeber
@patloeber 2 жыл бұрын
haha, great you found the video then :)
@alecduvenage2001
@alecduvenage2001 2 жыл бұрын
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!
@s4sumeetmishra
@s4sumeetmishra 2 жыл бұрын
Thank you 😊
@champfisk5613
@champfisk5613 2 жыл бұрын
Nice man!
@its_code
@its_code 2 жыл бұрын
😍❤️❤️💕 WOW amazing 😍😄
@dominion2734
@dominion2734 2 жыл бұрын
Liebe, Glaube, Leidenschaft❤
@patloeber
@patloeber 2 жыл бұрын
FCN!
@serychristianrenaud
@serychristianrenaud 2 жыл бұрын
Thanks 😀😀😀
@narutoxboruto873
@narutoxboruto873 2 жыл бұрын
Thanks :)
@vikasrathod855
@vikasrathod855 2 жыл бұрын
can you share todo of wordle game?
@sampson217
@sampson217 2 жыл бұрын
Hell yeah
@lolpepper707
@lolpepper707 2 жыл бұрын
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)
Object Oriented Programming (OOP) In Python - Beginner Crash Course
1:20:54
LangChain Crash Course - Build apps with language models
15:19
Patrick Loeber
Рет қаралды 128 М.
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 28 МЛН
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 12 МЛН
2 Years of C++ Programming
8:20
Zyger
Рет қаралды 6 М.
How to create a great dev environment with Docker
29:55
Patrick Loeber
Рет қаралды 275 М.
PyScript is officially here!🚀 Build web apps with Python & HTML
17:10
Supabase Crash Course For Python Developers
39:58
Patrick Loeber
Рет қаралды 42 М.
Python Platformer Game Tutorial for Beginners
1:52:06
freeCodeCamp.org
Рет қаралды 280 М.
Build a Media Analysis Dashboard with Python & Cloudinary
47:46
Patrick Loeber
Рет қаралды 10 М.
I never understood why you can't go faster than light - until now!
16:40
FloatHeadPhysics
Рет қаралды 4 МЛН
Build a free writing assistant with Python and Ollama
20:22
Patrick Loeber
Рет қаралды 10 М.
5 Mini Python Projects - For Beginners
1:41:08
Tech With Tim
Рет қаралды 2,9 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 30 МЛН