AI learns to play the Worlds Hardest Game || MORE LEVELS
HTML-код
- Опубликовано: 18 июл 2018
- Watch some AI crush some more levels from the Worlds Hardest game
run the AI yourself:
level 1: code-bullet.github.io/WorldsH...
level 2:code-bullet.github.io/WorldsH...
level 3:code-bullet.github.io/WorldsH...
Twitter: / code_bullet
Patreon: / codebullet
Discord: / discord - Наука
Make a AI which creates more levels for the AI ;)
That's a good way to get a self aware AI
Sounds like a plan
LJSystems he better do that
Bob Harrison no it doesn't
Bob Harrison it can't become self aware on it's own unless it Is programmed to do that, and believe me, it isn't easy
Time for a confession.
I don't understand ANY of the technical terms.
I'm just here for the results.
me too
lol same
Who isn’t lol
Every one is here for the entertainment that's RUclips
I’m just here because he is super funny
The difficult thing about this, is that when you die the blue dots don't reset with you, so that'll change the way the AI learns and would be very hard to implement.
E
"We reached 200000 subscribers!" 2 seconds later: 1.5 million subs
4 seconds later: 2.5 million subs
@@UltraVioletLite yes
Make an AI that can play Geometry Dash.
Imagine it beat Crimson Planet or Bloodlust or something xD
Can be done in the same way, Geometry Dash is hard for humans, due to precision timing required, but learning the winning sequence could be done using a very similar search-based technique as here.
Creating an AI that could solve an unseen Geometry Dash level at first go would be way, way harder, and is closer to what the OpenAI, Deep Mind etc teams are going for.
Neil Slater I like to think that AIs would easily solve certain games after some trial and error just like The World's Hardest Game. Unfortunately Geometry Dash is very very complicated timing wise. To get the AI to learn precision timings is extremely difficult. But once the AI learns, it will never die to a part that it has already learned. Humans are the exact opposite as humans have a higher senses and can see the game as the way it is. The only thing is that humans aren't perfect. They lack the consistency of what they learned and occasionally mess up. It still is a great idea nonetheless.
Jazzling I know right. It'll probably become the new auto-clicker but you don't have to program it.
Kim Nasayao What a great idea
Can't wait for you to do more level. However, a little complaint...ish. This was said on the last video's comment section but it bothers me too so I'll repeat it.
The AI is just looking for the perfect path instead of trying to avoid the dots. It's more of a guesswork game rather than brilliant AI. Otherwise though, amazing video as always.
AI learns to play tetris
THEFOXDEMON21 YES
*Boom! Tetris for AI*
@@secondaccount3821 nah, the AI can never cause as much hype as Jeff
BOOM! TETRIS FOR JEFF!
They have done that. The AI didnt understand how to think ahead and just paused the game when it was about to loose, so it didnt. Google it if you dont believe me, i dont remember the name of the guy who did it, sorry.
AI learns tetris 99
"He must be so bored thatvhe has to resort to killing himself multiple times for entertainment; I mean, its relatable really, we've all been there" lmbo
The problem most people had with this on the first video and this one is that it isn’t really artificial intelligence it’s just trial and error. By definition it is AI however, all this is doing is just moving the square randomly, hundreds of times, until you get closer to the goal. It hasn’t learned anything, and it’s made no decisions.
What people wanted was some sort of neural network that will learn all the game rules and then play by itself, one character with no trial and error, this would be much more entertaining and interesting.
Lodlum B I agree, I‘d love to see an AI, that „knows“ the rules and can play any level @CodeBullet
Lodlum B Finally, a voice of rationality amongst a sea of “MOAR LEVELS”.
Thanks for reading
i.e. some sort of NN with 8 sensors in all directions detecting wall and distance to it; 8 sensors detecting death and distance to it and 8 sensors detecting coin and distance to it or something
And adjusting fitness accordingly(i.e. as a function of time taken, distance to finish and coins)
It's not an AI, it's a Genetic algorithm for vectors.
Why do Java programers always wear glasses?
Because they can't C#
All hail the glory of the Nerd Pun!
That just may be the best pun i've ever seen :D
no smh just no
nice
unoriginal
I love this type of content. Keep going my friend!
I just ran you AI and it is truly beautiful even your new work this still holds up and is such a joy to watch it
Finally, a comment section without Justin Y.
Edit: He found us...
Lol
*knocks on wood furiously
He’s here watching
you under estimate his powers. his recommended is unlike anything you’ve seen.
Dont jinx it
MOAR!!!!!!!!!!
Andrew W agreed
Go away
Morreeeeeeeeeeeee!!!!!!!
Mooar
This has been my new favorites ever channel to get notifications from! Damn good contents.
Congratulasion on 200 subs dude! Big fan
There are WAY more levels
Yeah booiiiiiiiii
I think he knows.
Sigh people that don't watch the whole video
3:52 A meme review fan, of course, it is the most entertaining show in the internet
youtube favorite show
Pichaman RUclips’s favorite show of all time
Thats why i went to the comments lmao
meme review is a meme killer
👏👏
Make one AI that can play all levels rather than one specialized AI for each level
I love to see other people who like AI! I make videos about it, let me know what you think!
@@PandoraMakesGames ruclips.net/video/JwncAQurlqk/видео.html
I don't need to explain.
Yeah, because it's that simple
I don't think using a plain genetic algorithm for this was a great idea since it only learns the path for that specific level. I think giving them all NN's would work better, then saving the parameters at the end of each level. That means instead of learning a specific path, it learns what to do on new unseen levels as well by learning importance on values such as distance to walls, blue dots and coins to apply on later levels.
@@ardaozden887 it would also take way too long
This channel is going places! Congrats!
No! The next milestone is 262,144 (2^18)
Gal Horowitz
3B1B references. -3- boi im watching you
shhh
Is it a reference only or is it a math problem I Could actually solve if so could you re write (2^18) in words?
Edit: to solve it is it (2^18)=2•2•18=72
So 262,144 • 72 = 18 874,368???
Or is it 262 144???
I’m asking bc idk why but I like solving big and harder math tasks randomly like this but I hate math in school?!!😹👍🏻
2^18 means two to the power of eighteen...
Lucas Svedlund
All you have to do is 2×2 and make sure theres 18 2's
What if you made a genetic algorithm that teaches two "players" to kill and shoot each other? I saw another video do it but i need a code bullet versionnnnn
Definitely this!
So happy your channel is working so well now
Following you from Italy, your videos are really great
More levels!!!!!!!!!
Petar Vrdoljak znas marina?
Kojeg???????
*click*
this channel is the wae
I program with Java & JavaScript myself and I love checking out the source code of your programs, will that still be available?
I probably won’t get an answer, so I shouldn’t be trying...
Love your videos by the way! I was actually thinking about creating coding videos soonish, but you beat me to it! (you’ve really changed since the first video, I’ve been here since the start) Keep up the great work! :D
Thx, also, Code Bullet loved my comment? WOW! Didn’t expect that! This really made my night!
Anthony Willson: notice meh code senpai!!! Lol
Your comment got loved, I’m proud of you!
usually i hate it when people say "ive been here since you had 7 subs," but since this guy said it, im gonna make it a competition. ive been here around about when you made... oh wait just checked, ive been here since the start too, xd. the snake ai didnt seem too long ago. damn this channel grew p quickly compared to others
I'm watching your videos a while now, and I think it's now the time to tell you: I f'ing love them! Please continue so !
You were meant to make these videos. thank you for you contribution to society, and a personal thanks for helping me grasp neural networks on another level. Seriously, I've been learning things from your videos that TED talks didn't present this way. Not to sound like a weird internet person LOL but it'd be awesome to nerd out with you on a project, because so few people share your kind of perspective or enthusiasm toward this knowledge but Me, and 200,000+ others, do. Keep making videos because they offer much and the AI tests are extremely interesting. Especially for people like me, where the internet is all i have to further my understanding of these topics.
So on behalf of almost a quarter million people and myself, LOL - Congratulations to you and the Channel, and thank you for all your hard work.
6:25
*”oh we hit two hundred subscribeeeeers”*
i almost started laughing lol
do Tetris!
Taylor youngreen yes do tetris!
Jasprr_Yeet of course it can xD
A convolutional neural network could solve Tetris. I doubt a NEAT neural network could, though.
That's actually a pretty good idea.
TETRIS EFFECT
im glad that you made you programs so accessible, youre awesome dude
Just wanted to say thanks for the videos and love everyone of them.
MOAR
(plz)
Nice job man!
MORE LEVELSSSSS
Great job by the way! Congratulations! It just took one sanity to achieve it!
Wow you were busy! Excellent work and congrats on 200K :O
MORE LEVELS!!!
Code Buller: I'm actually in the early stages of being a bit sick.
2020 Viewers: REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!
More levels definitely. You’re dope.
Oh wow! You showed my fan-made worlds hardest game on scratch at first! I made that back in 2013 and at the time, I sucked at coding, but I've gotten a lot better over the years.
How do you not have 1000000 subs? This channel is awesome.
Yay finally more levels :D
Anyone else notice that each of the AI's doing "nothing" segments were their own individual complex patterns and rhythms? It was both beautiful and worrying all at once.
would love to see some more levels here and there as you do some other cool stuff
Do you think it's possible to have them learn on randomly interchanging levels until they learn how to complete any level? Maybe by letting the ai know how far away they are from the dots?
Lion's Tail this would be super cool!
He could probably train a neutral network into learning the "rules" of the game, rater than just using a genetic algorithm to find a series of steps that finishes a single level. A model of the rules of the game, may be able to complete any level that follows the same rules (assuming the level is solvable, naturally). That is way more difficult though. Training neural networks using genetic algorithms is a very different, albeit interesting, kind of beast.
Not with what he's doing here. But theoretically, yeah that seems like it aught to be possible.
In the gosu library (for ruby and C++) there is a distance function that takes the x and y of both points to give, well, the distance. I don't know about java though.
you could use NEAT for that, right?
Hmmm I challenge you to make an Evolution making an Evolution
You are a fucking beast! Thanks for sharing all of this stuff, it's so entertaining.
You put so much effort, prepare it so nicely for us, thank you mate, seriously, we appreciate it!
Ayy you hit 200 sub
Congrats xD
Aaaaand I'm still waiting for the enigma machine pt.2!!!
The AI moves slow....
In the atcual game it's quite quicker
Love dem videos bro!
beautiful touch with the speed up on ai cycles
So when does this AI enslave humanity exactly?
Anthony Smith the program would crash before that
Its not even a good enough AI too do that (and doesn't have enough control) Programmers would stop an AI enslaving humanity before it happens with all sorts of restrictions, so it physically can't happen. An AI wouldn't even want to enslave humanity.... Lol
wooosh
This is precisely what I wanted to know. It is not a wooosh moment. :3
T o t a l l y
Do the other levels plz
MORE!!!!! Im actually quite enjoying this! lol
I am so glad that youtube recommended you to me :D
I think people want more levels
Nice try to get into the next video
I'd like to see all the levels XD
The entire game. You can even do it over multiple videos, I'll watch each of every one of them.
Please make more I love this
Build an A.I. that uses paint or sketch programs to generate art from imputs that have been collected from other RUclips pages.
Ai learning plaigurism.
MORE LEVELS PLEASE also try to do kodu it's a programming so on the Windows store you make the levels
I edited this comment because I was asking for the decoding the coding device video, but this video is fine. I should be more appreciative. Thank you for taking the time out of your day to make a video, codebullet.
Please do the entire game! Its great fun. Even if its a few levels now and then
You can use javascript in Unity, And compile the project for web :)
What languages do you code your projects in? Where did you learn to build AI? Great videos btw
Dilan Omer Java in processing, but he is using javascript now. If you to learn making AI i suggest look at coding trains AI and intelligence series
Is Javascript really that great for building AI? I understand he's just using JS to host his projects, but aren't languages like Java or C++ more flexible. Would you recommend Java as a starter
Dilan Omer First of all I am by no mean an AI expert.
I would agree that C++, Ruby etc would be a lot more powerful because they are low level languages and you can utilize all cores. Java and C# would good too even though they run in a virtual machine.
Soo why Javascript? Well i personally love javascript because it is extremely deployable, its fast to write code, its a multiparadigme language, tons of open source code and no compiling / no waiting. The only thing its really missing is to have strong types which Typescript is fixing, also immutable types by default would be nice too xD
+Dilan Omer He built in javascript so that we could experiment with it on his website. He normally uses Java.
If you want to make ai i suggest python, not only python is suggested as a beginner language but also is the most common language for ai, it is not really fast but you will most likely use it with tensorflow or something that is written is c++ and has a wrapper for python, so you can understand it easilly in python syntax.
45k subs in 5 days, insanity. also, nice work and more levels
also idea, leauge AI?
(pretty much just learning how to win, also might take like 3 months through raw gameplay and more trying out different combinations of champions lol)
keep it up dude. great content.
Thank you!
keep on making great videos Mr Memio
Edit: got a like so someone got the reference
Amazing as always.
In scratch hit detection is so that it forces you to use detection based contact with a specific color color in order to be accurate, in the barriers case, black
Love your videos. Actually I'm kind of proud to be part of your demographic stats in such a low category so early on on your channel. *cough* female and really like your content. Keep up the good work! It's inspiring.
It’s said Code Bullet is still trying to beat the levels he already did so he can make the next video.
He could just watch the speed runs you know
Yes, more. Please. Also, I like that idea of this being a side series.
Keep these coming
do a flappy bird ai
and snakes
up
Qz Xyst down
Left
Right
He has already made a snake AI.
200,000
Then I realize how long I’ve been putting of watching this video lmao
This is hilarious. I am hoping to see them beat all the levels. Get better soon!
Edit-I remember when this was on cool math games and you could go to any level. Ah my middle school days...
hello i am a new subscriber and i really like your videos!
AI learns to play the scary maze game
TheElement OfFyre
But... But does it punch?
thats what i thought the original was when i saw the thumbnail =)
Second it
Hey CB! Could you make a tetris AI? That would be amazing
I JUST SUBD! Keep doing you boo boo
When the time lapse starts its admiring
You should use the same generations for all levels, so you can get a pro AI that can beat all levels.
AlexINF Yea I was thinking the same, make a fucking AI that beats the fucking game
It'll probably need to forget the last level to relearn the next level. But who knows?
MikeFPV You're right, he'd need a different approach. But if he finds one it would be much more interesting.
Dirty Poul he can find one, it’s called a neural network. Lots of the people commented on his last video saying use a NN instead of this poor joke at an AI that just uses trial and error. But he ignored them because he’s too lazy.
This AI just moves randomly, and whatever sequence gets closest to the target carries on to the next generation. It hasn’t learnt how to play, it’s just following a sequence of random
moves.
After a long day of work, Kanye West goes to his Kanye Nest to take his Kanye Rest. He wakes up feeling his Kanye Best. Then he’ll get Kanye Dressed on his Kanye Vest to go on a Kanye Quest. He goes to church and becomes Kanye Blessed, then to a hotel room to be a Kanye Guest. Then to school to take his Kanye Test. He forgot to brush his teeth. Did he run out of Kanye Crest? His neighbor stole it, what a Kanye Pest.
BillyClutch how long did it take you to think of that
he didnt think that up
Random4098 I’ve seen this paragraph like alot
BillyClutch *West
you forgot to say that he ate his sandwich. just... a normal sandwich.
the sandwich had a very good Kanya Taste.
Your flippin awesome bro, I LOVE YOUUUUUUU
I love watching the ways AI play that a human would never do. The straight line to the coin approach gets such interesting results
why are you playing on scratch?
OH SHIT U LETTING US RUN THE AI NICE
Scratch is the superior game engine
Nico Gutholz it is the go to game engine for people who can't program for shit.
Unity and Unreal is better, if you're really good... make yourself a in-house game engine. ;p
飛鳥「月」 I was just kidding
boredbenny Because the game was made on scratch
Ai learns to play Tetris, plz
See that would require him to actually make a program that can *learn,* unlike what he's done in this video which is just trial and error.
He has made ones that learn in other videos, like the snake one. Also I hate phone keyboards.
A Rocket Trial and error is still a form of learning, isn't it?
Only if it allows it to then perform similar tasks through what it's learned. With this program, if you start it from a slightly different position on the exact same level, it has to 'learn' from scratch again. IE, it hasn't really learned anything, it's just coincidentally found a winning set of inputs that will only work under those exact starting conditions. To learn is to generalise (apply what's been learned to other situations).
I recommend looking up the term 'overfitting machine learning', as that describes what his program has done.
I read your comment and I totally agree. Interestingly enough though psychology's definition of learning (from what I've learnt) is "constant change in behavior that is formed due to previous experience", which means that this ai is learning (according to psychology)...
Could you start a seris of how to programming in processing more actual code and explain exactly how the code works I am very interested in ai and would like to learn more and you seem to be the only channel that has a great personality and great content regarding ai keeep up the good work mate.
More levels would be great
How exactly does one "pick up" javascript. What kind of superhuman are you.
It's not that hard to go from one programming language to another. You know what you want to code, you just need to google the syntax for that other language. And a lot of basics are identical in most of the languages.
I'm fluent in a couple of languages, I understand, but javascript. JAVASCRIPT.
Javascript is not that bad. Better than PHP at least.
for games ?! not realy sure...
modern functional javascript is nice. you can go pretty far while ignoring all the old java-inspired crud. destructuring and higher order functions are just so much fun. :D
👏More Levels👏
doing the entire game would be amazing
More levels please luv u
-3:51-- Level Review?-
Careful when you're asleep next time your AI will conquer the world
Do another game! xD
I wish i was just as good as that Ai.
Dinosorusmechkiller See how he completed the levels faster than the AI. He learned how to beat the obstacles, the AI randomly moved and the best one was shown on screen.
Do all the levels!!!!!
Or at least do some more love the channel
"He must be so bored to have to resort to killing himself repeatedly for entertainment"
Code Bullet's AI casually predicting quarantine.
lol