How is the lockdown going guys? Kab khulega ye LockDown? For people asking for source code, I have updated the source code in the description. Here is the python programming playlist this video is a part of - ua-cam.com/play/PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME.html One quick suggestion I would like to suggest is to use press('up') instead of keyDown('up'). This will avoid holding down of key and will just press the key which is what we want! Thanks for all the love and support :)
sir my code is still not working!!!!😥😫 whenever i run the code , mere lappy ki volume kmm zyada hoti hai khudse bs..there is no effect on the dino game. how to resolve this sir? please help me!!! thanks in advance..har har mahadev
You can change the whole programming scenerio in India, and buiding coding innovations and new ideas. I watched the whole video. Thank you so much. So lots of love to you..
Sir i am watching ur whole playlist of python Just started today and did about 4 hours coding and made notes and did 7 videos till now U are awesome sir After watching this i am super motivated and excited for python learning😅😅 At last(what i learnt till): Print("nobody: /n literally nobody: /n me:binod")
@@the.shlok__ Hey pal could you stop saying bad words stop saying pal you I think you didn't read community guidelines of youtube that's why pal I am going to report you.
I have almost 6years of development experience. But i really like how u speak in hindi and explain other. Meray hisab sa bhaut acha kar rahe ho aap, Baki UA-camr dumb hai wo logo ko sirf 30-40% hi shika pate hai but aap hindi use karke ek jo barrier tha wo todd diya jisse aap dusro ko 100% shika pata hai. Mai bs apki video hindhi mai hone ki vjha sa dhekta hu. Keep doing this brother
You are right :) his videos are easy and in Hindi, but in other channels also, there are Hindi videos available, so we can't say them dumb, and people who teach in English doesn't mean they can only teach 30-40 percent, just saying..
I have tried the code when the obstacles or the cactus changes the colour from black to white. So what you have to do is just assume any pixel or dot on the screen as the screen is white in day time and changes to black in night and similarly change the colour of cactus or obstacle detection to black and white respectively in the IF condition as coded below if data[80,120]>200 and data[m,n]200 recognizes the day time or white screen and data[m,n]
one of the best programmer i have ever seen ,i am really blessed to see this kind of people doing amazing things i had never thought of!! thnx for the motivation sir!! love from kolkata .
Hello Harry.. your sessions are always very aspiring. I have 20 + years of experience in IT industry and still learn a lot from your videos. I enjoy your all videos. Keep it up. Thanks
Please start a series on Data structures and Algorithms as well as Competitive Programming. That will be the best series you could ever make since everyone struggle in that the most.
Very nice tutorial! I've done udemy courses on python but let me confess that, the way you teach and the content and topics you're telling is no where in internet, and in any course! Keep it up!
It was my friend final year project and my project was open cv face recognition, it took me that moment when we both are stay in hstl and doing work on our projects
Before visiting 'Code with harry': ->"Coding mae to m Dabbo Panda hoon! 😫" After visiting and subscribing 'Code with harry':- ->Teacher: "Beta tumhare dimag me processor or haathon me motor fit h kya??" Me:🤭🤭🤭😁 Harshvardhan From mumbai,Tarapur.
You haven't made it to detect the white cactus and birds when the background changes.birds are also colliding with your Cactus detecting rectangle and still the key works as down while dino should jump...
I think we can make a rectangle again using pillow module in the sky, and whenever it is black, it means it is night, and we can make a variable 'night' and set it to true, otherwise false, and whenever night is true, we may design the code to work it in opposite way, I have tried it, but it seems to have too much lagg and it can't work for me, even without night also I think I get some issues in my PC!!
I really loved/Liked and subscribed .. I liked the hurdles you encountered and fixed on the way .. I spent worthy 1 hour this morning .... fuckin Awesome
Guys this is my personal suggestions to all the newbie...just follow Harry bhai tutorials and you don't.have to go any other UA-cam channel.or course.. just follow and practice .. everything is in his channel
@@anonymous_6666 I agree with you. Learn doing things on your own. I did this (not by his way) but with my own way with knowledge from opencv courses. Images are 2d arrays. Which means you can modify and slice them. There you go, without any loops or anything.
It is soo nice.. u are great Harry bhai... U showed dat.. nothing is impossible in the programming word.. never imagined like this...Happy New Year, Happy Programming..🎉 Dayanand From Pune..
Wwoooow just amazing I got into programming and python recently and I've pretty much fallen in love with it..... The only thing I would suggest though is the THUMBNAIL... When I first saw it in my recommendations I ignored it 😛😛😛...but later decided to watch... And ooooo boy that was the correct choice.😁😁 Thanks for the content.. Keep up the good work.🖥️🖥️🖥️🖨️📙
When I type the command print asarray it shows error RuntimeError: The current Numpy installation fails to pass a sanity check due to a bug in the windows runtime.
maybe you have to install numpy module command 'pip install numpy' type this in your terminal or maybe version of numpy you are using do not support it so uninstall that older version and download latest one u can uninstall numpy using 'pip unistall numpy' or maybe there is some syntax error
Please somebody answer my doubts🤔: 1. How this code is detecting obstacles when they change color from black to white? Because in code it is set to detect only black ones... 2. As the game speeds up in my computer I noticed that cactus skipped the block and directly touched the dino, because the rate at which code is clicking images is far less than the speed of game. Example: In first image cactus is just before block and in next image it touched the dino and code never detected that.
The black and white rectangle are just for our reference. Harry bhai only drew this from trial and error. They are different colors so that he could differentiate between a cactus and a bird.
Harry sir , you are really amazing , You are a all rounder programmer i.e. knows web designing( html , css ,js ,php etc ) + app development + AI Superb sir , I am get maths from india
Awesome video sir..... puri video dekhi and maza aa gya.....mene aapki python playlist complete krli,.....and ye video Jarvis Jese best that...now I will revise python aapki python in one video de.....sir mene puri playlist ki saari videos dekhi enjoy krte:-D:-D
Hi Harry, when I am using iterative approach rather than making functions for each task the program is misbehaving. Is it due to screenshot capturing speed or something else. Please Help. Anyway Thank you for this awesome vid!!
It Showing error in ImageGrab.grab() Traceback (most recent call last): File "pyauto.py", line 10, in takeScreenshot() File "pyauto.py", line 6, in takeScreenshot image = ImageGrab.grab() File "/home/manish/.local/lib/python3.6/site-packages/PIL/ImageGrab.py", line 63, in grab raise IOError("Pillow was built without XCB support") OSError: Pillow was built without XCB support
if you put chrome://dino/ the exact link then the cordinates for the cactus are for i in range(285,300): for j in range(460, 520) it took me long to find
I think it needs very fast cpu. My is colliding after score of around 500. If boxes are taken too far, dino jumps very early. I feel harry bhai ne hamara kaata
Namaste sir i am in class 9 i saw your vedio i totailly motivated and i am going to learn python and other programming language with the help of your vedios Big fan sir
Harry, kyonki cactus ground se start hote h to cactus detection ko ground tak rakh sakte ho and Mere khayal se cactus detection ko bird se pehle takhna sahi hoga......
I love ur way of explanation. can you please explain multithreading and parallel-processing in python. And its application. Love your tutorials harry Bhai. Please consider my request.
i have just created an action (bunch of keys) for my accounting software, data from my different database and merge it into one company,, your program very much helpful for me.. thanks buddy.
How is the lockdown going guys? Kab khulega ye LockDown?
For people asking for source code, I have updated the source code in the description. Here is the python programming playlist this video is a part of - ua-cam.com/play/PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME.html
One quick suggestion I would like to suggest is to use press('up') instead of keyDown('up'). This will avoid holding down of key and will just press the key which is what we want!
Thanks for all the love and support :)
@Abhishek Kumar control bhai control...
Harry bhai webrtc django ke upar ek video banao please
Please reply
Love u harry vai ❤❤❤
From Dhaka, Bangladesh..
sir my code is still not working!!!!😥😫 whenever i run the code , mere lappy ki volume kmm zyada hoti hai khudse bs..there is no effect on the dino game. how to resolve this sir?
please help me!!!
thanks in advance..har har mahadev
Dino be like - Are koi paani dedo Yaar 😂🤣🤣😂 kabse bhaga rahe ho 😂 aur ye program band Kab Hoga 🤣🤣🤣
You can change the whole programming scenerio in India, and buiding coding innovations and new ideas. I watched the whole video. Thank you so much. So lots of love to you..
You are "Physics wallah of programming"
😁
Exactly
No, physics wallah is "codewithharry of physics"
Absolutely correct
He is not physicswala ,he's programming wala
Huge respect bro. Not a lot of indians make such videos about coding and stuff. Hope your channel grows really really fast.
side effect of quarantine: playing dinosaur game
Lol
Lol it's t rex game
Sir i am watching ur whole playlist of python
Just started today and did about 4 hours coding and made notes and did 7 videos till now
U are awesome sir
After watching this i am super motivated and excited for python learning😅😅
At last(what i learnt till):
Print("nobody: /n literally nobody: /n me:binod")
Print("Binod chutiya hai")
If "Binod" in source/n
bro mera sirff down hi jaraha hai
although i have accurate code and image processing
bro umm.....
small p XD
@@the.shlok__ Hey pal could you stop saying bad words stop saying pal you I think you didn't read community guidelines of youtube that's why pal I am going to report you.
Ver1 = binod binod binod
binod binod binod binod binod binodbinod binod binod binod binod binod
binod binod binod binod binod binodbinod binod binod binod binod binod
binod binod binod binod binod binodbinod binod binod binod binod binod
binod binod binod binod binod binodbinod binod binod
Print ("ver1")
I have almost 6years of development experience.
But i really like how u speak in hindi and explain other. Meray hisab sa bhaut acha kar rahe ho aap, Baki UA-camr dumb hai wo logo ko sirf 30-40% hi shika pate hai but aap hindi use karke ek jo barrier tha wo todd diya jisse aap dusro ko 100% shika pata hai.
Mai bs apki video hindhi mai hone ki vjha sa dhekta hu. Keep doing this brother
You are saying right
You are right :) his videos are easy and in Hindi, but in other channels also, there are Hindi videos available, so we can't say them dumb, and people who teach in English doesn't mean they can only teach 30-40 percent, just saying..
@@vaibhavkrkm yes bro.
2:56 Ummm I see you are a man of culture. JOking re.... I love your tutorials harry bhai !
Legend say harry's python still playing this game day and night🤣
I have ended this game with python and know it's ending ,wanna know?
@@hazardogaming5618 i already know it, it goes from 99999999 to 0 again
@@hazardogaming5618 how
Hahaha
Love from Nepal.The best programming channel in UA-cam..
I have tried the code when the obstacles or the cactus changes the colour from black to white.
So what you have to do is just assume any pixel or dot on the screen as the screen is white in day time and changes to black in night and similarly change the colour of cactus or obstacle detection to black and white respectively in the IF condition as coded below
if data[80,120]>200 and data[m,n]200 recognizes the day time or white screen and data[m,n]
hey mayur can u share the code with me as I'm having some doubts.
Where we have to write this code?
1: Under define(isCollide) .
2: just after define.
Ho gya 🤩🤩🤩 THANKS bhai
Woah ! Nice coding and good debugging with trial and error.
And high score is 1269
Mine is 1156
How did your code work in the night mode ?
Coz obstacles colour are changed
@@darklord1781 I haven't tried using that code, still I was able to score upto 1650
@@rahulvemuganti2606 actually I got the night mode in around 700 so I could only score something around 770
Can anybody tell me which python course should i do of him.
His 120+ video of playlist of python..
Or this 11 hr+ video????
one of the best programmer i have ever seen ,i am really blessed to see this kind of people doing amazing things i had never thought of!! thnx for the motivation sir!! love from kolkata .
Hello Harry.. your sessions are always very aspiring. I have 20 + years of experience in IT industry and still learn a lot from your videos. I enjoy your all videos. Keep it up. Thanks
Please start a series on Data structures and Algorithms as well as Competitive Programming. That will be the best series you could ever make since everyone struggle in that the most.
Very nice tutorial! I've done udemy courses on python but let me confess that, the way you teach and the content and topics you're telling is no where in internet, and in any course! Keep it up!
Sir me gujarat se hu aap content bahot hi achhe aur khatarnakh hote h programming sikhane ke lie
............
9:26 😂😂😂😂😂😂😂😂 "TAKIYA"
40:06 ye kaisa mazak hai😂
Bhai aapke paas kitne dil hai
Ki aap Sabko aapna dil doge 😂😂😂🤣🤣🤣🤣 thank u sir
Please put down these types of content daily as we all have a good time in the bloody corona virus
And love from india 😊
It was my friend final year project and my project was open cv face recognition, it took me that moment when we both are stay in hstl and doing work on our projects
Before visiting 'Code with harry':
->"Coding mae to m Dabbo Panda hoon! 😫"
After visiting and subscribing 'Code with harry':-
->Teacher: "Beta tumhare dimag me processor or haathon me motor fit h kya??"
Me:🤭🤭🤭😁
Harshvardhan
From mumbai,Tarapur.
Hm
Accha joke tha lekin hasi nahi aayi, sorry..
,koi ni bro...
Mene to mje me likh diya
😁
Joke ka logic thik h pr hasi ni aai..
Next time,try something new....
@@alitosif992 Ha ha ha But Muje Bohat Hasi Aayi
2:34 what a coincidence the finished the run with 69 score.
Harry bhai I watched full video👍Video is awesome👌👌👌👌👌👌
This is something I never thought of doing!!!!
@Pratik Panda 😂😂😂
And you didn't know how to 🤣🤣
You haven't made it to detect the white cactus and birds when the background changes.birds are also colliding with your
Cactus detecting rectangle and still the key works as down while dino should jump...
Yes you are right I'm also thinking about it
yess, i am still trying to fix that.
I have a solution
@@phantomgamerz562 what?
I think we can make a rectangle again using pillow module in the sky, and whenever it is black, it means it is night, and we can make a variable 'night' and set it to true, otherwise false, and whenever night is true, we may design the code to work it in opposite way, I have tried it, but it seems to have too much lagg and it can't work for me, even without night also I think I get some issues in my PC!!
Harry Sir - Thank you so much guys for watching this video...
Me/We - Thank you so much sir for making this video...
:)
I really loved/Liked and subscribed .. I liked the hurdles you encountered and fixed on the way .. I spent worthy 1 hour this morning .... fuckin Awesome
How to fix that when i am entering break after image.show(). Then it showing 'break' not properly in loop.
You always make unique videos . Thanks a lot bhaiya.
I'm From Haryana.
Bro Please Make A Seprate Playlist On Data Structure And Algorithm Please.
When the night seen comes it doesn’t detect i think because of the dark pixels what should i do
Firstly Check the pixel of dino if it is black then search for white pixel and jump
Else search for black pixel and jump
Ok thanks
Can you please give the code too
I am from India .....haryana ....bahadurgarh...I like your tutorials ...you help us so much..😊😀😁😄
Today, I made jealous to non-coding background friends..🤣🤣
Did you also note your friends that your entire code is taken from an video? Pasting full sources and renaming things isn't coding
@@Tygo69 😛😝
Love from Kota, Rajasthan
Pixels for 15.6 inch laptop
for i in range(200,300):
for j in range(400,460):
not necessary, if you have 4K display then it doesn't work;
you numbers are for 15.6 inch and 1366x768
@@lordraj365 Bro are you alright ? I written above that this are for 15.6 inch
I am from Delhi
Harry Bhai pygame ki playlist me aur video upload karo
2: and Bhai super mario game Ka python tutorial Lao
Pls Harry bhai
High Score ~ 2:34 = "69" 😂😂😂😂
Labham Jain naughty boy
@@lakshayvinayak440 Aap Nhi Ho? 😂😂😂
Guys this is my personal suggestions to all the newbie...just follow Harry bhai tutorials and you don't.have to go any other UA-cam channel.or course.. just follow and practice .. everything is in his channel
Ya buy don't just blindly follow , learn to do yourself too ...
Btw I am not CodeWithHarry Hater ..
I love his videos 🤤🤤🤤
@@anonymous_6666 I agree with you. Learn doing things on your own. I did this (not by his way) but with my own way with knowledge from opencv courses. Images are 2d arrays. Which means you can modify and slice them. There you go, without any loops or anything.
CodeWithHarry - Mein aap sabko dil dunga
***
***
Meanwhile the entire comment section has been automated to provide ♥
I think 🤔 you are right 😜
Love you and Harry 💝💝💝💝💝
Legends says the Dino is still running in the background 😄
It is soo nice.. u are great Harry bhai... U showed dat.. nothing is impossible in the programming word.. never imagined like this...Happy New Year, Happy Programming..🎉 Dayanand From Pune..
Harry
THE GREAT ENTHUSIASTIC PERSON
MIND BLOWING IDEAS
Runner.instance_.gameOver=function(){}
Run this command in chrome console before playing and see it running without obstacle
Ohh it dose not hit with obstacle LOL>
Behtreen video .. you are great LEGEND bhai.
Orange Zone , Rajasthan 🤣
Tonk
Amazing
My highscore is 2018, what a COINCIDENCE.
OMG, it actually broke my highscore.
and yes i've watched this video completely.
Baap re! 😯
Wwoooow just amazing
I got into programming and python recently and I've pretty much fallen in love with it.....
The only thing I would suggest though is the THUMBNAIL...
When I first saw it in my recommendations I ignored it
😛😛😛...but later decided to watch...
And ooooo boy that was the correct choice.😁😁
Thanks for the content..
Keep up the good work.🖥️🖥️🖥️🖨️📙
How many watched this Playlist? How is it ? Plz replay. I want to learn
When I type the command print asarray it shows error RuntimeError: The current Numpy installation fails to pass a sanity check due to a bug
in the windows runtime.
maybe you have to install numpy module command 'pip install numpy' type this in your terminal or maybe version of numpy you are using do not support it so uninstall that older version and download latest one u can uninstall numpy using 'pip unistall numpy' or maybe there is some syntax error
Please somebody answer my doubts🤔:
1. How this code is detecting obstacles when they change color from black to white? Because in code it is set to detect only black ones...
2. As the game speeds up in my computer I noticed that cactus skipped the block and directly touched the dino, because the rate at which code is clicking images is far less than the speed of game. Example: In first image cactus is just before block and in next image it touched the dino and code never detected that.
The black and white rectangle are just for our reference. Harry bhai only drew this from trial and error. They are different colors so that he could differentiate between a cactus and a bird.
Just loved it ❤️❤️❤️ last tak kya maine 2 bar puri video dekhi
Bro me abhi AP ki web development playlist pr hon to Kia mujhy python ki bhi Leni chahiay classes ek sath
Harry sir , you are really amazing ,
You are a all rounder programmer i.e. knows web designing( html , css ,js ,php etc ) + app development + AI
Superb sir , I am get maths from india
How many watched this Playlist? How is it ? Plz replay. I want to learn
Awesome video sir..... puri video dekhi and maza aa gya.....mene aapki python playlist complete krli,.....and ye video Jarvis Jese best that...now I will revise python aapki python in one video de.....sir mene puri playlist ki saari videos dekhi enjoy krte:-D:-D
Hi Harry, when I am using iterative approach rather than making functions for each task the program is misbehaving. Is it due to screenshot capturing speed or something else. Please Help.
Anyway Thank you for this awesome vid!!
same problem..
It Showing error in ImageGrab.grab()
Traceback (most recent call last):
File "pyauto.py", line 10, in
takeScreenshot()
File "pyauto.py", line 6, in takeScreenshot
image = ImageGrab.grab()
File "/home/manish/.local/lib/python3.6/site-packages/PIL/ImageGrab.py", line 63, in grab
raise IOError("Pillow was built without XCB support")
OSError: Pillow was built without XCB support
I think may be try updating pillow module
Or u can also try updating Python🤔🤔.. or both
@@vaibhavkrkm Not work after updating both
Harry bhai kamal kar diya 👍bahut khub🙌
if you put chrome://dino/ the exact link then the cordinates for the cactus are
for i in range(285,300):
for j in range(460, 520)
it took me long to find
well done bro it worth it.
Although all code are same and image processing are accurate
my dino going constantly down
can anyone there to help me
Amazing 😍👌
Pod Diya Bhai ne!!!
My high score without automating 3737.
From Kolkata, India
Sobhit Das
But it's not robust in all devices. After sometimes, it is colliding . So how to fix it.
I think it needs very fast cpu. My is colliding after score of around 500. If boxes are taken too far, dino jumps very early.
I feel harry bhai ne hamara kaata
@@sabre_code cpu matters i closed all the apps and it worked where it was colliding
Bhai Android Development pe ek course bana dena bro ❤❤
Lots of love brother
Keep up the work
No views 100 likes 🔥🔥🔥
how this program works when there is night in the dinosaur game ?
in that case, we will use white rectangle instead of black
We always support you harry bhai...😇❤... Keep it up bro... Your channel is best for learning programming ... I'm from delhi...😇
Name: Amey Gurjar
Age: 15yrs
Location: Borivali, Mumbai
print(" I'm from Agra, and tomorrow is my CS exam Unit test-3, and BTW where is my heart ")
From Bihar , India❤️❤️
I am from sirsa, haryana
Great ❤️❤️❤️
This is my dream project
49:10 video puri dekhi h 😎👍👍
maja aa gya harry bhai .. and maine pura ak ak video dekha hai aapka
the best teacher for programming
Sbse bdiya ...😋maine pura dekha
You are like "Harry Potter" of Programming.
Vai mere liye to aap amazing ho... Love from kolkata 😊🙏
Namaste sir i am in class 9 i saw your vedio i totailly motivated and i am going to learn python and other programming language with the help of your vedios
Big fan sir
Harry, kyonki cactus ground se start hote h to cactus detection ko ground tak rakh sakte ho and Mere khayal se cactus detection ko bird se pehle takhna sahi hoga......
Hi bro watching this video from Delhi, Loved it
Bhai best ho aap, aise hi aur bhibprojects banate rahna
2:40 Woah nice score!
Harry I love ur videos. Love from faridabad (haryana)
I just Completed Watching Your Playlist .. That's Amazing Buddyy...😌..
Anyone From Delhi ..??
Seriously amazing project ✌
Seriously Bhai During this python program. I am proud to be a programmer.
Thankyou Bhai God Bless You!
My High Score is 3421.
OMG! Bahut Achha Laga Bhai ye video
No.1 bhai
you r the best
lots of love and support from pune
How many watched this Playlist? How is it ? Plz replay. I want to learn
Sir aap bohot mast padhate ho or explanation bhi bohot achha dete ho aapki video dekh kar maza ajata hai or aapke coding skills dekh kar bhi...
Watching from Pakistan, really hats off brother 👏am big fan of you 🎉
commentry main tu harry bhai master hain na gaming ki😂
wohi talent ab nikal kr dobara samne aaaya
I love ur way of explanation. can you please explain multithreading and parallel-processing in python. And its application. Love your tutorials harry Bhai. Please consider my request.
3:23 to 3:27 it sounded like ashish chanchalini🧐🧐🧐🧐
Maza aa gaya Bhai 👌jordar
i have just created an action (bunch of keys) for my accounting software, data from my different database and merge it into one company,, your program very much helpful for me.. thanks buddy.
Nice project Harry sir
From:- Nagpur, Maharashtra
❤️ from maharashtra
Awesome video bro....
Harry bhai... Watching from Jharkhand