AI learns to play the WORLDS HARDEST GAME even more levels

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys yeah he's doing another one of these videos yes I am I I do it because of the the the challenge challenge yeah I had to hit world's out his game it's gonna be challenging right now but I'm working on a bigger video at the moment but I still got to play that YouTube algorithm game got to keep feeding the base got to get the people what they want and these videos pretty quick to pump out or so I thought so let's get into it so the main thing I've been working on over the past few weeks is a level editor which allows me to create the levels in no time at all what just a user to create the first level [Music] Danny and that was super quick that previously would have taken me like a few hours to hard-code although the level editor still needs some work before I'll upload it so you guys can use it and if I did that then you guys could just make it levels yourself and then that would make me obsolete so no dice sorry okay where are we up to I think level 4 something like that and of course you can't save you progress in this game so I will have to start again it's not a huge issue at the moment but once we get like up into higher levels that is gonna be a real [ __ ] but you know after playing the first few levels so much I've actually gotten pretty good at this if I don't say so myself let's get to level 4 [Music] first level has a new kind of dot we've had bouncing dots we've had paths thoughts but we ain't had no spinny dot but my fancy new level editor can handle spinny dots no problem so no worries let's build that level level complete so let's get my baby's learning and then we can chat about why this level sucks so much okay so the main problem I had with this level is once a square start going for the first coin and they have to go in smooth straight lines to each coin in the most efficient and quickest way possible and well if you know my a eyes they ain't a huge fan of the whole smooth motion thing the more of a fan of the take a kilo of cocaine kind of approach so yeah the squares had to learn to bloody calm down and make their way to the coins in an orderly fashion which they did eventually another issue I had which was 100% my fault I was I messed up the fitness function a little bit quick recap for people who don't give a [ __ ] the fitness function picks players which are good and the ones which are bad and I might have made a little mistake in the fitness function which might have been encouraging the players to kill themselves not a huge issue really pretty minor stuff but that certainly didn't help and it would mean you'd see stuff like this easy good good nice nice come on yes what no yeah so so I fixed that [Music] okay very nice next level don't go go-go-go-go yes okay okay so we got some more spinny top things that seems nuts easy to do so again let's build that level [Music] [Music] okay let's get this puppy learn and to really be on the issue with this level is that it's just so damn long the loaner took over 40 minutes to complete which is kinda messed up I fix this hole takes forever issue in a later level a little teaser from future Evan so keep watching boy the actual level from the game has checkpoints at each of the green areas but my mother didn't raise no [ __ ] so screw that but yeah but from that this one's pretty self-explanatory so I will turn up the overly dramatic oil tea free music and fade into the night goodbye [Music] [Music] [Music] [Music] [Music] well wasn't that magical next level the main issue with actually getting to the next level is that you need a good deal of patience which is one good deal more than I appear to have so here we go [Music] I made it man this game is a fan of those spinny dot things all of a sudden I mean I ain't complaining it means I don't have to update the level added us but yeah just sayin so let's create that level [Music] [Music] okay so during that level I noticed an issue with my current algorithm when the levels get long the evolution takes ages because each player in the generation needs to travel from the start every time and I'm sure this level isn't even the longest one and this one took like a few hours to solve so we got to fix that I don't know how many of you who have actually seen my old videos but in my pool video which I did ages ago in that video I used a technique where all the players do the exact same thing up until the final shot that way you didn't actually have to do the previous shots you can just do the final shot because you know where everything's going to be located before that shot takes place so I tried to do a similar thing well the place do the exact same thing at the start which means you only have to do the calculations for one player so each generation contains 700 players before we had to calculate the movement and collisions and also draw every player every frame now we only need to do that for one player and we just need to keep track of the moment where each player deviates from that part Evan is this really that much quicker well yeah I mean you have to actually you know what try it don't this will be interactive section go get a pen and paper and draw a single rectangle alright that wasn't too hard now draw 700 rectangles which took you longer post your results in the comments below I would be really curious to see which one takes longer I'm kidding that's stupid don't do that drawing 700 takes longer obviously to get it good now let's let her loose at the start there isn't really any difference but be patient my dear friend every 15 generations the best players movements are saved and all the other players adopt its starting movements this also improves performance as it ensures that all the players survive until the later part of the game when they're actually needed Rippa I'm saying this as if it was simple to do and didn't take me like in two days but whatever it's all worth it now because it's fastest boy [Music] [Applause] [Music] hey do you love progressing in the game making it to new levels and seeing if I can defeat them that's a strange and out of the blue question well too bad because we're going back what wanted to try it the algorithm on the previous level and see how it goes to the previous level yeah I really don't have much to say I didn't mean I didn't really have much to say last time we did this level and now I have even less to say and that's lunch great scriptwriting Evan talk to your effort I'll see everyone in the next one I'm gonna bed [Music] [Applause] [Music] [Music] [Music] [Music] by
Info
Channel: Code Bullet
Views: 5,291,599
Rating: 4.9151073 out of 5
Keywords: artificial, intelligence, coding, processing, java, machine, learning, genetic, algorithm, evolution, computer, science, programming, comedy, educational, Worlds Hardest Game
Id: C14VDpGAbSE
Channel Id: undefined
Length: 13min 25sec (805 seconds)
Published: Sun Aug 26 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.