@@ClarityCoders I suddenly realized we should have chosen tkinter for our project, is it too late to switch? 😵 (sorry I'm hiding from Facebook for a bit, that's why I'm writing here instead XD)
@@ClarityCoders Another strat when I play Dino is that I duck (press down) after I jump over the cactus. Is there any way to add that into the bot? I get almost 3k score but I don't know how to code
Man, I implemented the dino game same way you did, the logic for dark mode is also same the only difference is speed up I didn't add that and so game would speed up and I couldn't score more than 2113 and I couldn't figure out a way to increase a speed of response , but now I know , great video , I have also added chromedriver so that the chrome tab opens and closes with the program you don't need to switch it manually
This is kinda random but u actually don't have to duck under the flying dinos ( idk how to spell) u can just just over cuz they're basically the same height as the cacti
Correct me if im wrong but if you tap the jump key he can do a shorter jump and holding the jump key makes him jump for longer. Maybe this can be used to get more safety time
great video i've never coded anything in python so i don't really know how it works but i reckon you could improve the bot by checking farther ahead and delaying the inputs? maybe that could allow it to account for short vs long jumps and anticipate the places where cacti are close together but not close enough that you can jump over all of them at once ! also later on in the game i think pterodactyls get more and more common so the response to those obstacles gets more complicated anyway i don't know any python as i said so nevermind
@@ClarityCoders github.com/kulkarnip150/automate-stuffs-with-python/blob/master/dino_game.py This is code and I don't think it is frame rate issue as my system is also descent. I think it is issue of accuracy
Congratulations again on the 1k subscribers, you absolutley deserve it! keep up the good work!! 😃😃😃
Thanks I'll be saying the same to you soon!
@@ClarityCoders I suddenly realized we should have chosen tkinter for our project, is it too late to switch? 😵
(sorry I'm hiding from Facebook for a bit, that's why I'm writing here instead XD)
Tkinter is not my favorite. We could do same program or idea you do it in Tkinter I could use Pyqt5
@@ClarityCoders sounds good! 👍
8k*
Awesome video. Intro lookin clean and ive never wanted to beat a bot so bad lol
Do it! If you get stuck let me know.
Woah I thought you would have like at least 500K. Keep it up!!
Thanks! I honestly never thought I would get 500 haha
@@ClarityCoders Another strat when I play Dino is that I duck (press down) after I jump over the cactus. Is there any way to add that into the bot? I get almost 3k score but I don't know how to code
Man, I implemented the dino game same way you did, the logic for dark mode is also same the only difference is speed up I didn't add that and so game would speed up and I couldn't score more than 2113 and I couldn't figure out a way to increase a speed of response , but now I know , great video , I have also added chromedriver so that the chrome tab opens and closes with the program you don't need to switch it manually
I played this game always on the Bus and got a highscor of 4000 points!
Haha that's awesome. I was never that patient to play that long.
Cool mine is 3.5k
This is kinda random but u actually don't have to duck under the flying dinos ( idk how to spell) u can just just over cuz they're basically the same height as the cacti
I noticed that as well. I think ducking is safer cause you can recover faster but either would work. Good catch
Correct me if im wrong but if you tap the jump key he can do a shorter jump and holding the jump key makes him jump for longer. Maybe this can be used to get more safety time
Very good point. That would probably help! Thanks for watching and commenting.
@@ClarityCoders im glad I can help
Who's taking this man's challenge?
me
Lets see it! Thanks for watching guys!
This code was Python right?
Yes!
Okay im gonna recreate this with my screen recognition bot. It can do around 120 actions per second. Made it with python as well
Awesome share it when you do!
I saw the picture number you stopped on and i was like: "Nice"
My favorite number.
@@ClarityCoders lmao
The UA-camr CodeBullet made an AI that freaking turned the top high scores to nothing cause the bot seemed to be.. unbeatable
If I remember right code bullet used his own game he built not the live version. Makes it pretty easy. Wish I was as funny as him.
@@ClarityCoders true he did make his own version but he did pretty much copy the code down to the number. Also you are as funny as him!
great video
i've never coded anything in python so i don't really know how it works but i reckon you could improve the bot by checking farther ahead and delaying the inputs? maybe that could allow it to account for short vs long jumps and anticipate the places where cacti are close together but not close enough that you can jump over all of them at once ! also later on in the game i think pterodactyls get more and more common so the response to those obstacles gets more complicated anyway i don't know any python as i said so nevermind
ultimate I did not pass the 1000 points, it also happens that the transition from day to night and vice versa lags my laptop a lot
would be cool if bot learns to play from its mistake
Nice Video.
I opened a pull request to improve the code a bit :)
Nice! I'll check it out thank you.
@@ClarityCoders No, you didn't :P
ModuleNotFoundError: No module named 'cv2'
I get this when I run the program.
Install cv2
I have developed same program last year with pretty much same logic but it never accurate this level
I do have a decent laptop could be that mine is just getting a better frame rate?
@@ClarityCoders github.com/kulkarnip150/automate-stuffs-with-python/blob/master/dino_game.py
This is code and I don't think it is frame rate issue as my system is also descent. I think it is issue of accuracy
That could be I'll check out yours a bit later! Thanks for watching feel free to join discord if you want to chat code more!
Love the vids, Do u want to collab
how do i find the pixels i need??
Pyautogui would be an easier alternative to do the same thing!
For pushing the keys or the image detection? If image detection I didn't know Pyautogui had that functionality. At any rate thanks for watching!
@@ClarityCoders It actually has, but it's quite slow. I wouldn't recommend for that
69 Images **Noice**
YESSSSSSSSs
Took me 420 attempts
Cacti
a, b = b, a
Haha yeah...
Mine was 3314
Just use Javascript 🤣
Yup for sure a good option. I was just trying to show a bit of OpenCV.
Nobody questioning why he is using PAINT? Are you fine? May I help you? USE GIMP!
I do love me some GIMP. Although.... I've went back to photoshop for most of my image editing. I know I suck.
@@ClarityCoders I didn't say you suck. I'm just triggered that you are using paint xD
@@BlenderDefender Thanks again for watching buddy I appreciate it.
@@ClarityCoders You're welcome, interesting video dude
Clearly not relevant to the video, people are so fond of criticism