What The !! I never knew this is possible. I'm gonna learn python straight away.. right now!!! thanks for being soo inspirational!
@joosthoi12934 жыл бұрын
Beat basketbal with this one simple trick. Carnaval owners hate him
2 жыл бұрын
Regular people: “I’ll play a game” Programmer: “I’ll code a game” Pro-programmer: “l’ll make a program to DESTROY a game”
@eelcogg3 жыл бұрын
the basket position is likely just sin(x) where x is the time in seconds, hence it almost equal to 2*pi (6.28..). Writing it like this makes it easier to figure out where it's going to be by solving for sin(x+x') where x is the current time and x' is the time it takes for the ball to reach the hoop.
@lauriran2 жыл бұрын
Or smoothstep which is common in game programming. But it could work with either. Good thinking.
@buraktosun12163 жыл бұрын
I just started learning python and only watching you for entertainment purposes is lovely and a lot of fun thanks a lot. I was shocked for views tough it should be much higher but I guess it takes time keep what you are doing it is indeed helping new learners.
@GAMER20Aayush4 жыл бұрын
When the world needed him the most he come bacc
@SquidBeats3 жыл бұрын
Jesus Christ is God
@beron_the_colossus4 жыл бұрын
Hey man thanks for the quality content, have a lovely day!
@slovanosai4 жыл бұрын
Great work again Engineer Man ! You already had inspired me to automate an old flash game I used to play. thank you for the quality content and inspiration!!
@Rock-n-Rolo4 жыл бұрын
I didn't ask but I'm happy you decided to keep making these. It's one of my favourite segments of your show! Keep doing what you're doing man!
@noahnolte72884 жыл бұрын
Since you're so incredibly skilled in padb programming, could you make a simple tutorial? Thanks! Also please do that 3 weeks thing.
@ZacKoch4 жыл бұрын
Making it rain on that hoop 😂
@JustnTime14 жыл бұрын
Gotta do some more of these man. Its really entertaining 👍🏽
@alexanderdean14074 жыл бұрын
Amazing content as always. I've never saw somebody using a input function like this 👌
@mdsudirman57834 жыл бұрын
I agree
@badarjahangirkayani61964 жыл бұрын
Is this type of automation used in the industry to test UI for apps or are there other ways? Btw, great content.
@aliceyang31774 жыл бұрын
Maybe sin/cos could work better than the linear function to predict the basket position
@peterfrescura53604 жыл бұрын
Love the videos! Is there a gist or video on setting up adb and the emulator?
@wildelectricgoose3 жыл бұрын
Nice! Near guarantee that if you stopped logging the shoot position most of the lag would clear up, however minuscule of a foot print logging has it does take time to execute
@reezzrex06904 жыл бұрын
Please can you make a full tutorial how you do all the setup. For android screen and all those
@koushal25494 жыл бұрын
Simply amazing
@hugojeharr22173 жыл бұрын
Really entertaining, props to you
@madcroc1113 жыл бұрын
Should also explain perc2 > .5: perc2= .5-(perc2-.5) at 5:25 and why multiply by 2 The math expression seems to be to get the perc from left to current position in case it's coming back from right end. Muitiply by 2 I have no idea why. Because 0.5 of cycle is the full width? So multiplied by 2 we change it to full width.
@shraygahallot4034 жыл бұрын
How about "Missiles" @EngineerMan ? (It's a game in while we fly an a plane and we have to save it from the incoming missiles)
@jordanski54213 жыл бұрын
automating a pool game to open with a perfect shot each game would be pretty cool
@andybarnard45754 жыл бұрын
My thought was it looks like the lights up the side are in sync with the basket and could be used to keep in sync in case its 3.12500001 seconds...
@darcipeeps3 жыл бұрын
Does the hoop move according to a sine wave? Seems kinda like it but your linear solution is working anyhow
@edboss363 жыл бұрын
My 3 favourite hobbies: basketball, programming and gaming
@perrymathias4 жыл бұрын
so much fun, your insights are awesome.
@chiragsaini23144 жыл бұрын
Awesome content
@matthewgegg38354 жыл бұрын
Been waiting for this!
@bobster26503 жыл бұрын
Nice. Can you do that with bejeweled 3 with zen mode(never ending mode)? thanks.
@Guest-nb6kl3 жыл бұрын
Do minigolf next!!
@alkeryn17003 жыл бұрын
couldn't you use something like frida to get it's actual coordinates or something ?
@TheFakeVIP4 жыл бұрын
I'm blind, so can't see the game, so apologies if this wouldn't work, but if I was doing something like this I'd've used a sine or cosine function to track the moving basket.
@EnglishRain4 жыл бұрын
I know photos have an "alt" attribute for blind people. Is there something similar for KZbin videos for the blind?
@TheFakeVIP4 жыл бұрын
English Rain Not really, no. I suppose the captioning system could work for description if you put descriptions there instead of dialog, but absolutely no one does that. You can take a screen shot and feed it into an AI, which can help you out sometimes, especially with reading text, but it's a KZbin video, so who's going to do that? You just have to find channels where the host explains most or all of what's going on.
@EnglishRain4 жыл бұрын
@@TheFakeVIP cool, thanks for answering! :)
@mdsudirman57834 жыл бұрын
Amazing 👍👍👍 Thanks a lot for sharing 😎
@EnglishRain4 жыл бұрын
Please DO more Android game automations! It's a fun way to learn python Android capabilities.
@alexandriap.32854 жыл бұрын
You should try running the code on top of Termux instead of running locally via ADB.
@YashKumar-oy9je3 жыл бұрын
Hello, Which version of python you use in this video
@bluekeybo4 жыл бұрын
I wonder how long this will keep on working due to the imperfect timings. My guess is in a few hours you'll start seeing misses
@janknoblich41293 жыл бұрын
The error is constant and does not change over time
@Sjlundie4 жыл бұрын
Love it! (Also for the algorithm)
@DaFred19902 жыл бұрын
The lights on the sides of the lane are synchronized to the hoop.
@AntonioNoack4 жыл бұрын
How about only throwing the ball on the left or right, so the basket is slowest, and you can guarantee perfect dunks?
@EngineerMan4 жыл бұрын
In terms of accuracy I think that would work great. I wanted to shoot as far as possible though all the time.
@dicloniusN354 жыл бұрын
Do you have video with "how install IDE atom for android with this android screen of your phone" ?
@dicloniusN354 жыл бұрын
can python get what coursor icon in app now? For example when i in photoshop i see brush or eraser icon, when i in browser I see arrow icon
@UmbraAtrox_3 жыл бұрын
we need more
@leo17224673 жыл бұрын
Do you had to try multiple times to get the values of X axis?
@Aru8675 Жыл бұрын
Teach us and Make a bot for Minesweeper game to display hidden mines using bot, or bot should be capable of playing game without any mistake to the end of game for any android game. Can we use BlueStacks for bot making process because BlueStacks also provides us to keep something in background
@chuckycheese27184 жыл бұрын
where can i get teh basketball game from dude
@peterkim96964 жыл бұрын
Can't understand the threading part
@sarimbinwaseem4 жыл бұрын
Great work ... inspired by you I am working on automating a app that is for increasing insta followers... Yea i know it's cringe but not doing for myself but for a friend and more importantly gaining experience....
@jpaiva79343 жыл бұрын
Would running the python script in termux on android, isntead of using adb to connect to the smartphone make the adb delay disapear? I wonder.
@EngineerMan3 жыл бұрын
No. The delay isn't in the transmission of the command, it's in the actual command itself.
@jpaiva79343 жыл бұрын
@@EngineerMan Thanks for the reply. I usually do this types of automations on Automate App, from Llama Lab (coding on Android, I know...), which is pretty simple. I've never learned python in my life, but this type of videos are giving me interest to learn it, since, for me, it's much more interesting than js or ts. Keep up the good work :) Awesome video!
@viswa2k9443 жыл бұрын
This game isn't available could you share where to get apk
@michaelmwangi33924 жыл бұрын
I love this i really would like to know to code better....thanks for this inspirations
@parkourX44 жыл бұрын
I'd love to see a tutorial on how to use adb
@SilentBlueDragon4 жыл бұрын
No can dunk, but good fundamentals.
@itsrish4real3 жыл бұрын
What would happen if we try to automate an online Battle Royal game or FPS game?🙃🤔
@Willeexd13373 жыл бұрын
What linux do you use
@Guskiller13 жыл бұрын
how do you get your coords to show like that?
@Guskiller13 жыл бұрын
Nvm I got it, its on the debugging menu on the phone :^)
@wojwesoly4 жыл бұрын
How do you run those python files on your phone/connect it to your pc? Or is it an emulator?
@aayushpatil75144 жыл бұрын
It is adb
@wojwesoly4 жыл бұрын
@@aayushpatil7514 Ok thanks
@viswa2k9443 жыл бұрын
Awesome brain man, incredible thoughts.. It will be great if it possible that to automate online games by creating bot. For ex. Clash Royal
@colephelps73214 жыл бұрын
Awesome. Can you do 8 ball pool automation?
@colephelps73214 жыл бұрын
Or the 9 ball game in the 8 ball pool app itself.
@azr_sd3 жыл бұрын
Automating Android Basketball So Hard The Dunks Never Stop
@Arnthorg4 жыл бұрын
the script and the hoop would go out of sync after some time.
@chiragdeshmukh3254 жыл бұрын
So cool!!
@HungPham-xx7mu4 жыл бұрын
do you share link this game? thanks you
@vettiyankan4 жыл бұрын
Please add app link also.
@thengakola62174 жыл бұрын
Do one for piano tiles.......
@noahnolte72884 жыл бұрын
Yes!
@tmhchacham3 жыл бұрын
Automate 2048.
@aromatixofficial10203 жыл бұрын
how about something like subway surfers, or temple run
@arakgamers30183 жыл бұрын
Pliss make tutorial for chess on android
@prashanna_maharjan4 жыл бұрын
Please make a tutorial for hacking wifi using python
@martinsauer48543 жыл бұрын
I wish there was temple run 2 automation ^
@winz15274 жыл бұрын
Great
@unnanego3 жыл бұрын
MORE! MORE! MORE!
@machinze_edits4 жыл бұрын
Sir do u have any courses on machine learning on KZbin
@starchildluke4 жыл бұрын
Code Game Kareem Abdul-Jabbar
@Txyr3 жыл бұрын
#pro
@mohammedchahboun85514 жыл бұрын
How to make Python fun 🌹 Watch The engineer man channel 🤷🏾♂️