A.I. Learns to Play World's Hardest Game (QWOP)

  Рет қаралды 68,418

The AI Guy

The AI Guy

Күн бұрын

Witness how an AI Agent Learns to Play the World's Most Frustrating and Addictive Game QWOP! Using a Genetic Algorithm to evolve and learn QWOP over time, the runner Allen gains knowledge and continuously gets better each and every generation. He begins off extremely awful at the game but by the end he has evolved enough skills to WIN!
#artificialintelligence #QWOP #geneticalgorithm
TRY QWOP YOURSELF: www.foddy.net/A...
In this video I cover:
1. QWOP (the world's most frustration and addictive game)
2. Genetic Algorithm
3. Allen the runner's evolution to stardom
4. QWOP Victory!
If you enjoyed the video, toss it a like! 👍
To Subscribe: / @theaiguy
Thanks so much for watching!
The AI Guy

Пікірлер: 77
@TheAIGuy
@TheAIGuy 4 жыл бұрын
Smash the like button or Allen will chase after you! :)
@sometimesbeautiful4970
@sometimesbeautiful4970 4 жыл бұрын
lol awesome!!!
@Frranklin17
@Frranklin17 4 жыл бұрын
can you share please share your code?
@g0at3d49
@g0at3d49 4 жыл бұрын
This is so funny because my friend's channel is called qwop but he does fortnite videos, go sub to him the link is everyone plz sub to my friend he's trying to get to 200 subs Link👇 kzbin.info/door/sOuAYnZC981miahNNt03YQ
@gregglind
@gregglind 4 жыл бұрын
(And click the bell!)
@xcoldwave
@xcoldwave 4 жыл бұрын
I will die before he arrives....
@davidmalnar8111
@davidmalnar8111 4 жыл бұрын
Maybe by adding another key that do nothing, Alen would have the possibility to let the body to go with the flow and do more progress.
@TheAIGuy
@TheAIGuy 4 жыл бұрын
David Malnar Agreed, definitely need a way for him to not press and just naturally move. Thanks for this!
@davidmalnar8111
@davidmalnar8111 4 жыл бұрын
@@TheAIGuy I would really love to see the difference in a video ;)
@drago6568
@drago6568 3 жыл бұрын
@@TheAIGuy how come you didn't make another video with the other guys advice? Ms
@MS-ho9wq
@MS-ho9wq 4 жыл бұрын
I enjoyed this. To make him run upright, the fitness score could include some measure of how upright he stays, like % of time hair-color pixels appear in the upper part of the screen.
@lisastrazzella71
@lisastrazzella71 3 жыл бұрын
But how did you Start it? I struggle with running the programm. Do you just opened the cmd and typed in the Website or where so you typed in the algorithm? Lg Lisa:)
@TimBitten
@TimBitten 4 жыл бұрын
What I really want to see is Alan getting an absurd amount of training through as many gens as you can put him through in a year’s time!
@moomoomamoo
@moomoomamoo 3 жыл бұрын
Sequel! Sequel! Sequel!
@TheDrsalvation
@TheDrsalvation 3 жыл бұрын
the best part is that when I finished QWOP, my tactic was to have a leg stretched and be on a knee for the whole run... the fact that your AI did exactly the same makes me happy; I'm ready for Roko's basilisk lol
@lisastrazzella71
@lisastrazzella71 3 жыл бұрын
But how did you Start it? I struggle with running the programm. Do you just opened the cmd and typed in the Website or where so you typed in the algorithm? Lg Lisa
@Dennis19901
@Dennis19901 3 жыл бұрын
Obligatory "Humans evolved from apes, not monkeys" comment. We are great apes. Monkeys have tails, apes do not.
@mcrib5102
@mcrib5102 4 жыл бұрын
Fun fact: the creator of this game was Bennett Foddy, the same devil who created getting over it
@goodolarchie
@goodolarchie 4 жыл бұрын
Whoa, incredible! Is that why his last name is in the URL?
@il9375
@il9375 4 жыл бұрын
this comment is stolen from an speedrun of the game it uses nearly the exact same words ,but hey facts cant reallybe copied and be stolen
@il9375
@il9375 4 жыл бұрын
with same words i mean devil, creator, funfact, getting over it and the (creator) of the game
@seal1gold
@seal1gold 4 жыл бұрын
Stolen comment
@LadyVoldemort
@LadyVoldemort 3 жыл бұрын
I saw this comment right before watching this video from a person named Zip, who got 12K likes...
@bumbr07
@bumbr07 4 жыл бұрын
now you have to make it beat the game faster
@ZanderSwart
@ZanderSwart 4 жыл бұрын
this is the coolest thing ive seen today
@kenbaxter4387
@kenbaxter4387 3 жыл бұрын
This is pretty awesome. Can we get a longer version?? Maybe like 2 hours. PLEASE PLEASE
@TheLogicult
@TheLogicult 4 жыл бұрын
I would love to see the code for this. Is it on a github somewhere?
@meeky77
@meeky77 3 жыл бұрын
Hi
@haleyleyley8951
@haleyleyley8951 3 жыл бұрын
hi
@ashchittenden9087
@ashchittenden9087 3 жыл бұрын
Hi
@preselanyyt
@preselanyyt 3 жыл бұрын
hi
@lukasr1166
@lukasr1166 3 жыл бұрын
hi
@treeoctopus9005
@treeoctopus9005 4 жыл бұрын
The best possible way to play is by pressing "WO" "QP" pressing them like that it goes wo qp wo qp so if u want to beat it do that
@danthomas4198
@danthomas4198 3 жыл бұрын
And gradually run forward by leg and knee; you can actually go pretty fast.
@matthewferguson8369
@matthewferguson8369 3 жыл бұрын
2 things: The fitness score should have a time limit, how far can it go within 20 seconds, so that it learns to do it fast, not just safe. Second, you could add average height of head to the fitness score so that he learns to stand up and run rather than scoot around lol. Cool video.
@ricardabellaarasa5579
@ricardabellaarasa5579 4 жыл бұрын
since i watched the google video i got hooked into ai and i want to study this since then
@TheAIGuy
@TheAIGuy 4 жыл бұрын
Glad you enjoyed! AI is awesome!
@canlong9603
@canlong9603 3 жыл бұрын
90% gamers crawl like this.
@marinadavies1917
@marinadavies1917 4 жыл бұрын
You could also make fitness equal “distance travel/seconds passed” so that way he is more likely to run up right since it is faster
@matthewferguson8369
@matthewferguson8369 3 жыл бұрын
This encourages safety over quickness, adding a time limit, distance traveled within 20 seconds, would encourage the AI to become faster.
@sebcodestheweb9385
@sebcodestheweb9385 4 жыл бұрын
Greatly done! If you want to copy the ai:s movement, simply go down on the left knee as the ai and press the keys q-w-o-p in that specific order over and over again. The runner will then start crawling. I beat the game on my first try using this method. 🔥
@tenchimuyo69
@tenchimuyo69 3 жыл бұрын
"wiggle strats" -Vinny
@lisastrazzella71
@lisastrazzella71 3 жыл бұрын
Hey, how do I start the game in the cmd(the game is online so I can't save it on the windows explorer) Lg Lisa:)
@Arthang
@Arthang 3 жыл бұрын
Definition of mythical 1: based on or described in a myth especially as contrasted with history 2usually mythical : existing only in the imagination : FICTITIOUS, IMAGINARY constructed a mythical all-star team I'll leave this here for you since you seem to understand computer languages more than spoken ones.
@jans1982
@jans1982 4 жыл бұрын
Why didn't you ran it a few more times to see if he would develop a better way to run?
@mattgies
@mattgies 4 жыл бұрын
or even seed it with key presses from a player who's somewhat good at the game
@Iheartdgd
@Iheartdgd 3 жыл бұрын
2:22 what about ‘WO’ ?
@donaldkimpoua2853
@donaldkimpoua2853 4 жыл бұрын
thank you bro i really enjoy and learn from you
@rfvtgbzhn
@rfvtgbzhn Жыл бұрын
Interesting that it just takes 14 generations until it can finish the game, I thought it would have taken much longer.
@robertwave612
@robertwave612 4 жыл бұрын
Awesome video. Just wondering, would you consider putting the code on github so that we could take a look? Doesn't have to be a work of art but it'd be interesting as a worked example for a more complex AI problem then just transforming tensors from inputs to output
@lisastrazzella71
@lisastrazzella71 3 жыл бұрын
But how did you Start it? I struggle with running the programm. Do you just opened the cmd and typed in the Website or where so you typed in the algorithm? Lg Lisa:)
@alcadieasplay5276
@alcadieasplay5276 4 жыл бұрын
Would it be possible to provide more variation to ai moveset based on key hold down parameters? Because I think the ai behave like sliding on ground because it is clicking inputted keys in a very short time.
@utkarshpuniani4849
@utkarshpuniani4849 3 жыл бұрын
I see AI play games and perform the task given to them such as reaching the goal in least time frame possible or simply survive. What if we give AI a role just to gain knowledge and enhance itself just by it's knowledge it gained and giving it the platform "web" to work on.
@flyingdutchman8371
@flyingdutchman8371 3 жыл бұрын
It would eventually either have an error due to unforseen interactions of various data, or get someone in trouble by googling something like how to make a weapon, or trying to access data it shouldn't like a military base.
@derekspecht6323
@derekspecht6323 4 жыл бұрын
Made by the one and only trollmaster of gaming Bennett Foddy, who also made getting over it as well.
@jeffm7179
@jeffm7179 4 жыл бұрын
Good stuff. Would also like the vid of the code/model
@lu9524
@lu9524 4 жыл бұрын
Learning through laugh and watch Allen struggling.
@honyokgaming5601
@honyokgaming5601 3 жыл бұрын
Rip flash 😔💀
@unpredictable2787
@unpredictable2787 3 жыл бұрын
on the genes thing i didnt see ow or wo
@Mortizul
@Mortizul 3 жыл бұрын
Nobody runs whilst dragging one knee on the ground.
@danthomas4198
@danthomas4198 3 жыл бұрын
Well that's the way I found to beat QWOP: You basically run on your left foot/right knee or right foot/left knee. My technique wasn't very different to Alan, and I got 101 metres. I have seen people who managed to run but I never got to that level.
@wehavebiscuits
@wehavebiscuits 3 жыл бұрын
If his score is determined by distnace/time, won't that just make him gather some initial distance then die on purpose?
@TheAIGuy
@TheAIGuy 3 жыл бұрын
That is definitely something I think would need to be tweaked a bit for better results. Maybe penalizing death in the first 10m extra would help prevent this. Thanks!
@wehavebiscuits
@wehavebiscuits 3 жыл бұрын
@@TheAIGuy i was thinking maybe have score = distance -(time/k), where k would have to be tweaked experimentally.
@MrAvocadoMan
@MrAvocadoMan 4 жыл бұрын
You need to give it incentive to be faster
@chigychanga8546
@chigychanga8546 4 жыл бұрын
Audio is pretty fucked
@donaldkimpoua2853
@donaldkimpoua2853 4 жыл бұрын
nice tuto
@Simulachronos
@Simulachronos 4 жыл бұрын
Keep training until he runs normal
@JawnBlue
@JawnBlue 4 жыл бұрын
Second video please!
@gabrieldelelis9256
@gabrieldelelis9256 3 жыл бұрын
This AI could finish the run, but for an AI I was expecting more than this. I was expecting it will be better than human, with perfectly movements and fastest velocity.
@bluesifer8238
@bluesifer8238 3 жыл бұрын
You talk so slow KZbin is going to need to include a 3x speed, I already watch you in 2x and it's too slow.
A.I. Learns To Walk
16:15
Code Bullet
Рет қаралды 10 МЛН
AI beats multiple World Records in Trackmania
37:18
Yosh
Рет қаралды 3,1 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,4 МЛН
Watermelon magic box! #shorts by Leisi Crazy
00:20
Leisi Crazy
Рет қаралды 115 МЛН
She's very CREATIVE💡💦 #camping #survival #bushcraft #outdoors #lifehack
00:26
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 10 МЛН
Which Smash Characters have Canonically Smashed?
31:22
PMJ
Рет қаралды 883 М.
I tested every Celebrity Tech product!
27:15
Mrwhosetheboss
Рет қаралды 4,2 МЛН
OpenAI Plays Hide and Seek…and Breaks The Game! 🤖
6:02
Two Minute Papers
Рет қаралды 10 МЛН
Using AI to NEVER LOSE in KAHOOT
10:54
The Coding Sloth
Рет қаралды 1 МЛН
How Spider-Man's Web Swinging Changed
19:03
Alex Boucher
Рет қаралды 411 М.
AI Learns To Swing Like Spiderman
15:29
b2studios
Рет қаралды 6 МЛН
How do QR codes work? (I built one myself to find out)
35:13
Veritasium
Рет қаралды 6 МЛН
AI Invents New Bowling Techniques
11:33
b2studios
Рет қаралды 3,4 МЛН
A.I. Learns to Run (Creature Creator)
16:38
Code Bullet
Рет қаралды 5 МЛН
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,4 МЛН