Python Hangman Tutorial #1 - Learn to Make Games with Pygame

  Рет қаралды 110,838

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 165
@TechWithTim
@TechWithTim 4 жыл бұрын
Thanks again to repl.it for sponsoring this series. Claim a FREE 3-month hacker rank here: repl.it/claim?code=techwithtim ! Hacker plan gets you private repls, more CPU and RAM, and a cool profile badge. More on repl pricing repl.it/pricing
@dhruvnation1884
@dhruvnation1884 4 жыл бұрын
bro i am so thankful to you i am using repl from last 3- 4 month and i wanted to try out some premium features thnx a lot ..............bro this was a coincidence that they sponsored a talented guy and i was lucky enough to be your subscriber thnx a lot....
@nznakzez
@nznakzez 4 жыл бұрын
I cant get images to work send help
@tcgvsocg1458
@tcgvsocg1458 3 жыл бұрын
Please make a video on street of rageplease
@codingwitharun9035
@codingwitharun9035 3 жыл бұрын
It is not working for me.. Why not did it expire?
@alancameron4570
@alancameron4570 3 жыл бұрын
i realize it's pretty off topic but do anybody know of a good place to stream newly released series online ?
@HitraNtheProgrammer
@HitraNtheProgrammer 4 жыл бұрын
Amazing tutorial as always. The quality of your videos has grown so much, one of the best tech channels for tutorials. You actually got me hyped to actually start and play with python. Thanks a lot!
@TechWithTim
@TechWithTim 4 жыл бұрын
No problem! Thank you so much for recognition and comment :)
@joannat.4021
@joannat.4021 Жыл бұрын
Same here 😊
@davidmargis3476
@davidmargis3476 4 жыл бұрын
Theory is crucial, but having a clear objective in learning is just as important. Not having that clear end goal always tripped me up before. You are a natural teacher, keep up the great work!
@aksharkottuvada
@aksharkottuvada 4 жыл бұрын
I recently completed learning the basics of programming and was looking for a small and fun project, I couldn't found a better one than this! Thanks Tim :)
@rohans875
@rohans875 4 жыл бұрын
Thanks so much tim- I was literally just starting to lean pygame a couple of days ago
@pythonworld7762
@pythonworld7762 4 жыл бұрын
Keep learning!
@alexandernyhus2379
@alexandernyhus2379 4 жыл бұрын
Love these beginner tutorials! Keep up the good work 👌
@codenull3755
@codenull3755 4 жыл бұрын
Amazing video Tim, these videos really helped me learn Pygame and I'm super into computer graphics now. I may not make games but my dream is to become a data scientist, I've made a few projects using Pygame myself, but most of them are only sorting visualization
@readnibba5515
@readnibba5515 4 жыл бұрын
nice
@mohamed-muneer
@mohamed-muneer 4 жыл бұрын
Please continue making such beginner projects and tutorials!! As a beginner this kind of projects will boost our skill in becoming a good programmer!! Love from India!! ❤❤
@almuhimen8023
@almuhimen8023 4 жыл бұрын
If you always watch beginners tutorial you will never be a intermediate. Videos are good. Try reading docs.
@ytEnhanced
@ytEnhanced 4 жыл бұрын
Hands down the best hangman tutorial series
@dhruvnation1884
@dhruvnation1884 4 жыл бұрын
🔥🔥Not the first, not the last When got notification Clicked it fast🔥🔥😁
@briandesign
@briandesign 4 жыл бұрын
only made this with Javascript so far, but this looks pretty dope!
@Tomo-uj8qy
@Tomo-uj8qy 4 жыл бұрын
more like radical
@dangerman1524
@dangerman1524 4 жыл бұрын
The best python channel I've seen
@Akkad-t8q
@Akkad-t8q 7 ай бұрын
If I had such projects in the c++ classes in HS, I would have probably become a programmer. Instead I had extra math classes calculating triangles and other geometry, which if you can imagine having two advanced math classes per day and then dealing with more math really puts one off programming. Thank you for the series, will definitely try them.
@DatascienceConcepts
@DatascienceConcepts 4 жыл бұрын
Wow! I was actually thinking of creating this video for my students. Glad you did it. Will direct them here :)
@dkdkdnffjxjdj6019
@dkdkdnffjxjdj6019 6 ай бұрын
You’re so good at explaining thank you
@parthjohar2273
@parthjohar2273 4 жыл бұрын
I really liked that new concept of loading images with for loop...!!Something New...Well done!!
@imherovirat
@imherovirat 4 жыл бұрын
Please make more videos like this. It's awesome
@MaxTheFireCat
@MaxTheFireCat 4 жыл бұрын
wow! looks great, no need to pip install stuf and mess with virtual env
@vaibhavkrkm
@vaibhavkrkm 4 жыл бұрын
My tip for colors: I think when working in offline system, we may make a Python file and store all the color values which we want inside of it and store it where Python is installed and then we can import it as a module whenever we want to use Pygame.. :)
@creationduwal
@creationduwal 4 жыл бұрын
Hello, tim.. You and @codewithharry a indian youtuber have given me a lot of inspiration and I am going to start a channel where I will be teaching coding and I am working on a website right now. I just wanted to tell you that. You are my greatest inspiration.
@flaminfox7405
@flaminfox7405 4 жыл бұрын
Its a nice refresher, never ever seeing a hate comment
@baez521
@baez521 4 жыл бұрын
Tim you are awesome, keep up the great work!
@mattiasorella4709
@mattiasorella4709 4 жыл бұрын
Hello, I'm trying to do something like this im pycharm, how to I upload the images there? Thank you
@scripticstudios2022
@scripticstudios2022 4 жыл бұрын
Add them to the same folder as the python file and the pics should appear in pycharm.
@zackydev
@zackydev 4 жыл бұрын
oh yeah, this is notification squad time
@scottatkinson7649
@scottatkinson7649 3 жыл бұрын
Hi Tim iv copied everything as you did and checked and double checked but im getting problems with # load images images = [] for i in range(7): image = pygame.image.load("hangman" + str(i) + ".png") images.append(image) i must be missing something. All images are loaded ready to go please help
@painnolol
@painnolol Жыл бұрын
Do you have the images in the same file path?
@sakman27cap45
@sakman27cap45 4 жыл бұрын
I like these begining courses coz they are easy to make where is the othere episodes? I was waiting since yesterday! ⏰ notifications up there! :D
@ExcelTutorials1
@ExcelTutorials1 4 жыл бұрын
Thank you for the amazing tutorial man!
@MrSeinfeldFan2
@MrSeinfeldFan2 4 жыл бұрын
I've seen so many of these tutorials by now... and you really can't tell how good are they until you've spent some time into them, but I usually quit and go looking for another one. This guy... has kept me interested so far (ended part-1). Going for part-2... will see..... Well, unfortunately it was a disappointment as well. Precisely, because I was so enthused about it. See comments on Video 3 of this series... why, if you care
@jndd7373
@jndd7373 3 жыл бұрын
This is so awesome. Thanks!
@iluvsyphonfilter
@iluvsyphonfilter 4 жыл бұрын
Very well explained!
@thanyaniinnocent940
@thanyaniinnocent940 4 жыл бұрын
I enjoyed it. I'm waiting for TUT No. 2
@jonatanpalmquist2202
@jonatanpalmquist2202 4 жыл бұрын
Great tutorials! Thank you do much!!
@mrpancakes
@mrpancakes 4 жыл бұрын
I love your pygame content. Would you be able to teach how to create games using JavaScript and canvas? I was planning to learn that next.
@TechWithTim
@TechWithTim 4 жыл бұрын
Maybe?! I don’t have much experience with it however
@mrpancakes
@mrpancakes 4 жыл бұрын
@@TechWithTim great, I'm sure it won't take you much time to learn it. :)
@noah_edwrds
@noah_edwrds 4 жыл бұрын
You're the best😁 I was worried you stop making videos since you have a job at Microsoft, but no !
@thea.igamer3958
@thea.igamer3958 4 жыл бұрын
Wonderful quality channel, best wishes !
@ahmdm2036
@ahmdm2036 4 жыл бұрын
I am on phone and the upload folder option is not working, i select the images.zip then tap open but nothing happens.
@kaifscarbrow
@kaifscarbrow 4 жыл бұрын
Nice tutorial. I made this in PyQt5
@kemenesmark
@kemenesmark 4 жыл бұрын
Hi! Thanks for doing a new video You are the best teacher i know When you will make part 2?
@unknownman5296
@unknownman5296 4 жыл бұрын
your videos are great !!
@pythonworld7762
@pythonworld7762 4 жыл бұрын
Hey Tim. I learned python, a little bit of Java. Html and CSS. What do you think I should do next?
@McIvar
@McIvar 4 жыл бұрын
maybe golang?
@McIvar
@McIvar 4 жыл бұрын
c++
@pythonworld7762
@pythonworld7762 4 жыл бұрын
@@McIvar I thinked C# is better. But I don't know...
@laddisingh1546
@laddisingh1546 4 жыл бұрын
Love your content.
@ghyslainhubert139
@ghyslainhubert139 3 жыл бұрын
I am using VS Code. Tried to run the code. pygame module has no 'init' member error, has no QUIT' member, Missing module docstring, constant name "run" doesn't conform to UPPER_CASE naming style, all from pylint. Really don't know what to do.
@Elia__Holm
@Elia__Holm 4 жыл бұрын
Awesome!!
@dananjayamudalige8591
@dananjayamudalige8591 4 жыл бұрын
Thank you very much for your videos
@TechWithTim
@TechWithTim 4 жыл бұрын
You are very welcome
@shantanuroy9408
@shantanuroy9408 4 жыл бұрын
repl.it is actually quite cool!!
@subhajitsarkar9382
@subhajitsarkar9382 4 жыл бұрын
Thanks Tim
@programmerrdai
@programmerrdai 4 жыл бұрын
Great Content....
@kvelez
@kvelez Жыл бұрын
Good one.
@Stagedrengen
@Stagedrengen 4 жыл бұрын
Just finished your Java tutorials and am looking for a good project to build from scratch in order to get some practical experience with Java. Any suggestions? (adept at programming in Python, but new in Java, so am looking for Java project).
@adhithyanjayaraman9120
@adhithyanjayaraman9120 4 жыл бұрын
if you already know about repl.it skip to 9:06 .
@z3r0legend42
@z3r0legend42 4 жыл бұрын
Just a question why are you not using classes for your codes ? Do you hate classes or it's just to make the code easier to understand ?
@TechWithTim
@TechWithTim 4 жыл бұрын
Since this a beginner tutorial I didn’t want to focus too much on that as many people don’t yet understand them
@z3r0legend42
@z3r0legend42 4 жыл бұрын
Oh 🤔 okay because i'm looking at your tutorials and i saw that's a thing you're not using a lot so i was asking why but thanks for answering my question 😉 (next objective for you is to sale a game made with pygame on steam or discord i'm already working on it, i can't wait to see your next vid bruh !!!)
@Code_in_simple_English
@Code_in_simple_English 4 жыл бұрын
"pygame is difficult (slow) to run from the web" - another reason to choose pycharm or some other IDE or interpreter and not Repl.it - thanks for the tip.
@ahmdm2036
@ahmdm2036 4 жыл бұрын
he used it because they are sponsoring him. Also I am on phone and the upload folder option is not working, i select the images.zip then tap open but nothing happens.
@SkyFly19853
@SkyFly19853 4 жыл бұрын
Thanks for this tutorial! So, you have used Kivy for this project?
@randomexpress2967
@randomexpress2967 4 жыл бұрын
I have a problem with the virtual assistant you made 9 months ago. I get the following error :- Recognizer' object has no attribute 'recognize_google Can you please help me? This is from the second tutorial in the series. By the way awesome videos!
@tasnimrajia1666
@tasnimrajia1666 2 жыл бұрын
Can someone help me I written the code and whenever I run it I only see a black screen without a title for a long time, what do I do?
@Sammy43381
@Sammy43381 3 жыл бұрын
Where can I get your zip folder for the code and images
@folfex1971
@folfex1971 3 жыл бұрын
great but I am having a issue, when I run the code I don't get the window that you get and the program closes automatically, I copied all of your code and checked if it was right and it was, Is there any fix to this?
@cuzimbetter26
@cuzimbetter26 4 жыл бұрын
2019: Im gonna use pycharm, because i hate all the other IDEs. 2020: Im gonna use VSCode because i am working for them.
@TechWithTim
@TechWithTim 4 жыл бұрын
I don’t think i used VSCode! Also never said I hate all IDE’s loool
@sebastienhuber9514
@sebastienhuber9514 3 жыл бұрын
Hi, which tool did you use to draw these cool hangman pictures?
@andrewzhukov9722
@andrewzhukov9722 2 жыл бұрын
How does the ide or system know where to look for images?
@devscloud7600
@devscloud7600 3 жыл бұрын
Hi Nice video for me at 30:18, it is saying there is no file or directory of the image even though i have downlaoded them in vs code
@sakman27cap45
@sakman27cap45 4 жыл бұрын
I saw this notification!
@lukewilliams448
@lukewilliams448 4 жыл бұрын
Im not able to run the code in replit, it just keeps saying all sorts of errors: evaluate error, unknown PCM and stuff like that, I've copied the code word for word, it just doesnt work.
@ireuel357
@ireuel357 2 жыл бұрын
I was looking for a pygame tut, not a replit ad.
@lianacoombs3380
@lianacoombs3380 2 жыл бұрын
I Love your vídeos Tim! Is there a way to print the code??
@sakman27cap45
@sakman27cap45 4 жыл бұрын
Nice!
@anindyaroythetechmaster
@anindyaroythetechmaster 4 жыл бұрын
can you create Godot tutorial series.... Your tutorials are always so helpful
@thed3stroyer939
@thed3stroyer939 3 жыл бұрын
no download file in the description ??? (sorry i have trouble paying attention
@ibrahimkhurshid129
@ibrahimkhurshid129 4 жыл бұрын
fourth. Is scikit learn worth learning or create new own models in python?
@gandelgerlant565
@gandelgerlant565 4 жыл бұрын
If you want to make games in python, there is also Godot engine which uses GDscript, a lenguage similar to python.
@o.b.7217
@o.b.7217 4 жыл бұрын
But as long as you have no clue how Python works, GDscript is a book with seven seals to you. Learn Python, then GDscript is easy (easier) to work with.
@gandelgerlant565
@gandelgerlant565 4 жыл бұрын
@@o.b.7217 Indeed
@TheKatherinesalvatie
@TheKatherinesalvatie 4 жыл бұрын
I am trying this but I keep getting ASLA lib errors and nothing is being displayed. I have been trying to find the solution but I haven't found anything yet. Does anyone know what this means and how to fix it?
@rafivalli3844
@rafivalli3844 4 жыл бұрын
sir, when i practicing this tutorial, i found something like FileNotFoundError: No such file or directory. can you help me please? i'm so confused
@marianolopezsarasua7907
@marianolopezsarasua7907 4 жыл бұрын
Check out the relative path of the images!!!
@rafivalli3844
@rafivalli3844 4 жыл бұрын
@@marianolopezsarasua7907 how can i check it? I already put my file in the same folder with my hangman.py
@marianolopezsarasua7907
@marianolopezsarasua7907 4 жыл бұрын
@@rafivalli3844 with a click on your right mouse button on the file or photo, copy the relative path, and then paste it into the code.
@rafivalli3844
@rafivalli3844 4 жыл бұрын
@@marianolopezsarasua7907 thanks, its helpful
@akermiyu
@akermiyu 4 жыл бұрын
What was the link to the programming bundle on teachable? Thank you!!
@TechWithTim
@TechWithTim 4 жыл бұрын
go.learntocodewith.me/courses/tech-toolbox-2020?affcode=58750_fq9nkc07
@mahmoudabdelsattar8860
@mahmoudabdelsattar8860 4 жыл бұрын
pro!
@TankZTerr13
@TankZTerr13 4 жыл бұрын
hey TECH! Im currently trying this out I keep getting this error on both pycharm and repl for event in pygame.event.get(): pygame.error: video system not initialized you got any fix to that?
@mista7514
@mista7514 4 жыл бұрын
It seems you didn't write pygame.init() in the beginning or set a variable to hold the window like win = pygame.display.set_caption('Hangman') after setting the size using set_mode.
@FarhanAli-tr4qu
@FarhanAli-tr4qu 3 жыл бұрын
Hello! I have a question: Is pygame a module or a package?
@Ayx_GeopoliticsReport
@Ayx_GeopoliticsReport 3 жыл бұрын
I am using idle will it work
@DSCuber-28-01-2019
@DSCuber-28-01-2019 4 жыл бұрын
can we make 3d projects with python
@andreibaraboi5074
@andreibaraboi5074 4 жыл бұрын
I checked the code on replit, and it's bugged (the game never quits). The final pygame.quit() should be nested under the while loop right under main().
@TechWithTim
@TechWithTim 4 жыл бұрын
Oops! You’ll see why that happens in the final video, I gave a hint on how to make a main menu and didn’t test my last minute changes
@umernasir4217
@umernasir4217 4 жыл бұрын
Which IDE are you using in this video.?
@TechWithTim
@TechWithTim 4 жыл бұрын
repl.it !!
@wayfarer_4
@wayfarer_4 4 жыл бұрын
Now for sake stickman's fate next
@bxr4231
@bxr4231 4 жыл бұрын
I can’t seem to find the pictures for the hangman Where are they
@TechWithTim
@TechWithTim 4 жыл бұрын
sorry! they are added now :)
@bxr4231
@bxr4231 4 жыл бұрын
@@TechWithTim Yay! Love Your videos. Please could you do machine learning in Repl.it, I can’t get tensorflow to work on Mac
@tcgvsocg1458
@tcgvsocg1458 3 жыл бұрын
Please do a video on clone of "mario world" first level from sceatch to end or " street of rage"
@abhishekshukla3094
@abhishekshukla3094 4 жыл бұрын
how to apply dark theme??
@angryeagles9295
@angryeagles9295 3 жыл бұрын
tim its coming no such file or directory (not showing images)
@angryeagles9295
@angryeagles9295 2 жыл бұрын
@Faiza Chowdhury nope🙅
@angryeagles9295
@angryeagles9295 2 жыл бұрын
@Faiza Chowdhury Are you learning python?
@muhammedfethicalskan5352
@muhammedfethicalskan5352 4 жыл бұрын
Hi ! Can we make io multiplayer game with Pygame?
@muhammadilhammaulidin4535
@muhammadilhammaulidin4535 4 жыл бұрын
What ide is that?
@r1se233
@r1se233 4 жыл бұрын
How to restart the game?
@abhishekshukla3094
@abhishekshukla3094 4 жыл бұрын
no images link???
@TechWithTim
@TechWithTim 4 жыл бұрын
sorry! It's there now :)
@isaiahrivera9143
@isaiahrivera9143 4 жыл бұрын
I can't get my images to display in pycharm.
@TechWithTim
@TechWithTim 4 жыл бұрын
Mind giving me some more information on what’s wrong?
@isaiahrivera9143
@isaiahrivera9143 4 жыл бұрын
@@TechWithTim after writing the code for the images I get an error saying it can't load the images. I also tried it in repl.it like in your tutorial and it worked.
@sanammar
@sanammar 4 жыл бұрын
@@TechWithTim I am having the same problem ''couldn't open image"
@Code_in_simple_English
@Code_in_simple_English 4 жыл бұрын
I'm running it in pycharm no problem. Make sure main.py and your images are in the same folder as each other.
@akkinepallykrishnachaitany4779
@akkinepallykrishnachaitany4779 4 жыл бұрын
When are the next tutorials?
@adebayokehinde1580
@adebayokehinde1580 4 жыл бұрын
Tim!!!
@sidr.9263
@sidr.9263 4 жыл бұрын
Could you please share the source code?
@meliodas6309
@meliodas6309 4 жыл бұрын
can somebody help me with the hangman images please :)
@TechWithTim
@TechWithTim 4 жыл бұрын
Hey! They’re available in the description :)
@scpf2360
@scpf2360 2 жыл бұрын
Pydroid sucks It Always ErOR But Nothing Happened VS Code Therese No Mobile
@2MARR8
@2MARR8 4 жыл бұрын
First
@divcodez
@divcodez 3 жыл бұрын
I also post a lot of videos like this 35123
@Kevin-zk7xc
@Kevin-zk7xc 4 жыл бұрын
Why are you so focused on the module pygame?
@imdeadshot3632
@imdeadshot3632 4 жыл бұрын
second
@noobtimespronoobtimespro1379
@noobtimespronoobtimespro1379 4 жыл бұрын
aAAAAAA
Python Hangman Tutorial #2 - Pygame Mouse Events & Collision
31:35
Tech With Tim
Рет қаралды 37 М.
Writing Code That Runs FAST on a GPU
15:32
Low Level
Рет қаралды 566 М.
Каха и лужа  #непосредственнокаха
00:15
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 3,3 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 36 МЛН
Pong Game Tutorial using Pygame & Python - For beginners
39:50
Programming With Nick
Рет қаралды 10 М.
10 Important Python Concepts In 20 Minutes
18:49
Indently
Рет қаралды 267 М.
Python/Pygame Checkers Tutorial (Part 1) - Drawing the Board
33:26
Tech With Tim
Рет қаралды 142 М.
Let's code a HANGMAN GAME in Python! 🕺
25:07
Bro Code
Рет қаралды 16 М.
2 YEARS of PYTHON Game Development in 5 Minutes!
4:54
Coding With Russ
Рет қаралды 957 М.
Why 4d geometry makes me sad
29:42
3Blue1Brown
Рет қаралды 664 М.
Python Tutorial: Object Oriented Hangman
29:49
seth mcfeeters
Рет қаралды 2 М.
Algorithms Explained for Beginners - How I Wish I Was Taught
17:38
Internet Made Coder
Рет қаралды 363 М.
Make Pong With Python!
1:12:42
Tech With Tim
Рет қаралды 117 М.
Каха и лужа  #непосредственнокаха
00:15