AI learns to play the Worlds Hardest Game || MORE LEVELS

Поділитися
Вставка
  • Опубліковано 19 гру 2024

КОМЕНТАРІ • 2,6 тис.

  • @ljsystems5694
    @ljsystems5694 6 років тому +5165

    Make a AI which creates more levels for the AI ;)

    • @arkonraavus21
      @arkonraavus21 6 років тому +412

      That's a good way to get a self aware AI

    • @neneppie
      @neneppie 6 років тому +92

      Sounds like a plan

    • @manupancras1198
      @manupancras1198 6 років тому +25

      LJSystems he better do that

    • @OzoneTheLynx
      @OzoneTheLynx 6 років тому +9

      Bob Harrison no it doesn't

    • @capolol5976
      @capolol5976 6 років тому +63

      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

  • @penguuiun2096
    @penguuiun2096 6 років тому +188

    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.

    • @EEEEEEEE
      @EEEEEEEE Рік тому

      E‎‎‎‎‎‎‎‎‎‎‎‎‎‎

  • @flipflipthegruntking4572
    @flipflipthegruntking4572 5 років тому +820

    Time for a confession.
    I don't understand ANY of the technical terms.
    I'm just here for the results.

  • @RogerKeulen
    @RogerKeulen 6 років тому +1

    2:45 Straight line doesn't matter, if and only if a part of your selection is big and random enough. Thus after enough tries a random one will be better then the straight line, if the advantage is big enough not to go straight in a line.

  • @mgsmemebook
    @mgsmemebook 5 років тому +47

    "We reached 200000 subscribers!" 2 seconds later: 1.5 million subs

  • @kimnasayao5549
    @kimnasayao5549 6 років тому +342

    Make an AI that can play Geometry Dash.

    • @jazzling
      @jazzling 6 років тому +20

      Imagine it beat Crimson Planet or Bloodlust or something xD

    • @neilslater8223
      @neilslater8223 6 років тому +22

      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.

    • @kimnasayao5549
      @kimnasayao5549 6 років тому +11

      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.

    • @kimnasayao5549
      @kimnasayao5549 6 років тому +4

      Jazzling I know right. It'll probably become the new auto-clicker but you don't have to program it.

    • @failedkirby618
      @failedkirby618 6 років тому +2

      Kim Nasayao What a great idea

  • @YTSunnys
    @YTSunnys 6 років тому +603

    Finally, a comment section without Justin Y.
    Edit: He found us...

    • @Nolabalm
      @Nolabalm 6 років тому +3

      Lol

    • @zacharyzadams
      @zacharyzadams 6 років тому +30

      *knocks on wood furiously

    • @Shroop
      @Shroop 6 років тому +21

      He’s here watching

    • @astanarr
      @astanarr 6 років тому +30

      you under estimate his powers. his recommended is unlike anything you’ve seen.

    • @Moon-iv7sx
      @Moon-iv7sx 6 років тому +5

      Dont jinx it

  • @alfredwindslow1894
    @alfredwindslow1894 6 років тому +307

    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.

    • @ZhaoahZ
      @ZhaoahZ 6 років тому +19

      Lodlum B I agree, I‘d love to see an AI, that „knows“ the rules and can play any level @CodeBullet

    • @theducvu5196
      @theducvu5196 6 років тому +35

      Lodlum B Finally, a voice of rationality amongst a sea of “MOAR LEVELS”.

    • @alfredwindslow1894
      @alfredwindslow1894 6 років тому +2

      Thanks for reading

    • @Innosos
      @Innosos 6 років тому +8

      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)

    • @ondraenglish8131
      @ondraenglish8131 6 років тому +16

      It's not an AI, it's a Genetic algorithm for vectors.

  • @trigahappybunny5535
    @trigahappybunny5535 4 роки тому +1

    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

  • @mcaidanwolf1771
    @mcaidanwolf1771 6 років тому +6

    I love this type of content. Keep going my friend!

  • @haroonkhalid1957
    @haroonkhalid1957 6 років тому +69

    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.

  • @yeetskeet691
    @yeetskeet691 6 років тому +382

    Why do Java programers always wear glasses?
    Because they can't C#

  • @pumpkinzz5728
    @pumpkinzz5728 6 років тому +346

    MOAR!!!!!!!!!!

  • @THEFOXDEMON21
    @THEFOXDEMON21 6 років тому +644

    AI learns to play tetris

    • @uhhlightstar2692
      @uhhlightstar2692 6 років тому +5

      THEFOXDEMON21 YES

    • @shovelozubejtygr
      @shovelozubejtygr 6 років тому +12

      *Boom! Tetris for AI*

    • @ch0mpd136
      @ch0mpd136 6 років тому +11

      @@shovelozubejtygr nah, the AI can never cause as much hype as Jeff
      BOOM! TETRIS FOR JEFF!

    • @devin9579
      @devin9579 5 років тому +4

      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.

    • @Armetron
      @Armetron 5 років тому +2

      AI learns tetris 99

  • @TS_Mind_Swept
    @TS_Mind_Swept 5 років тому +14

    "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

  • @thepeveexman
    @thepeveexman 6 років тому +99

    3:52 A meme review fan, of course, it is the most entertaining show in the internet

  • @Shroop
    @Shroop 6 років тому +186

    There are WAY more levels

  • @slitherdoodle
    @slitherdoodle 6 років тому +115

    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

  • @manseljeffares1017
    @manseljeffares1017 6 років тому +185

    Make one AI that can play all levels rather than one specialized AI for each level

    • @PandoraMakesGames
      @PandoraMakesGames 6 років тому +6

      I love to see other people who like AI! I make videos about it, let me know what you think!

    • @shot-gi6mr
      @shot-gi6mr 5 років тому +3

      @@PandoraMakesGames ua-cam.com/video/JwncAQurlqk/v-deo.html
      I don't need to explain.

    • @ascendedcat260
      @ascendedcat260 5 років тому +2

      Yeah, because it's that simple

    • @ardaozden887
      @ardaozden887 4 роки тому +3

      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.

    • @juanayon231
      @juanayon231 4 роки тому +2

      @@ardaozden887 it would also take way too long

  • @Fighter11244
    @Fighter11244 4 роки тому +22

    Code Buller: I'm actually in the early stages of being a bit sick.
    2020 Viewers: REEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE!!!!

  • @GalHorowitz
    @GalHorowitz 6 років тому +33

    No! The next milestone is 262,144 (2^18)

    • @julymorris6367
      @julymorris6367 6 років тому +1

      Gal Horowitz
      3B1B references. -3- boi im watching you

    • @GalHorowitz
      @GalHorowitz 6 років тому +2

      shhh

    • @lucassvedlund3851
      @lucassvedlund3851 6 років тому +1

      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?!!😹👍🏻

    • @GalHorowitz
      @GalHorowitz 6 років тому +3

      2^18 means two to the power of eighteen...

    • @julymorris6367
      @julymorris6367 6 років тому +1

      Lucas Svedlund
      All you have to do is 2×2 and make sure theres 18 2's

  • @petarvrdoljak3956
    @petarvrdoljak3956 6 років тому +91

    More levels!!!!!!!!!

  • @thebestnerd4444
    @thebestnerd4444 6 років тому +473

    do Tetris!

    • @bilgialp8827
      @bilgialp8827 6 років тому +2

      Taylor youngreen yes do tetris!

    • @shlimon7667
      @shlimon7667 6 років тому

      Jasprr_Yeet of course it can xD

    • @Brusanan
      @Brusanan 6 років тому +1

      A convolutional neural network could solve Tetris. I doubt a NEAT neural network could, though.

    • @wordson4787
      @wordson4787 6 років тому +1

      That's actually a pretty good idea.

    • @andrewgaming9528
      @andrewgaming9528 6 років тому +2

      TETRIS EFFECT

  • @LaserTechNate
    @LaserTechNate 6 років тому

    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.

  • @lb_pip
    @lb_pip 6 років тому +12

    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.

  • @anthonywilson620
    @anthonywilson620 6 років тому +222

    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

    • @anthonywilson620
      @anthonywilson620 6 років тому +12

      Thx, also, Code Bullet loved my comment? WOW! Didn’t expect that! This really made my night!

    • @cancanpro1743
      @cancanpro1743 6 років тому +6

      Anthony Willson: notice meh code senpai!!! Lol

    • @glass916
      @glass916 6 років тому +4

      Your comment got loved, I’m proud of you!

    • @matthewvasta9425
      @matthewvasta9425 6 років тому +4

      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

  • @s0rr0wHacker
    @s0rr0wHacker 6 років тому +74

    Nice job man!

  • @Dieaconus
    @Dieaconus 6 років тому +42

    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?

    • @drvanon
      @drvanon 6 років тому

      Lion's Tail this would be super cool!

    • @impero101
      @impero101 6 років тому +9

      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.

    • @aidenhubbard5591
      @aidenhubbard5591 6 років тому +3

      Not with what he's doing here. But theoretically, yeah that seems like it aught to be possible.

    • @pingin6885
      @pingin6885 6 років тому

      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.

    • @tylermitchell185
      @tylermitchell185 6 років тому

      you could use NEAT for that, right?

  • @endritl
    @endritl 6 років тому

    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 !

  • @tommasogallo5514
    @tommasogallo5514 6 років тому +1

    Following you from Italy, your videos are really great

  • @DemonzGaming
    @DemonzGaming 6 років тому +23

    MORE LEVELS!!!

  • @CrashOut7
    @CrashOut7 6 років тому +76

    The AI moves slow....
    In the atcual game it's quite quicker

  • @thelizardpalace4597
    @thelizardpalace4597 6 років тому +7

    Aaaaand I'm still waiting for the enigma machine pt.2!!!

  • @magebomba318
    @magebomba318 6 років тому

    This has been my new favorites ever channel to get notifications from! Damn good contents.

  • @l_moor
    @l_moor 6 років тому +1

    So happy your channel is working so well now

  • @Rehjun
    @Rehjun 6 років тому +9

    Yay finally more levels :D

  • @millo5014
    @millo5014 6 років тому +16

    Hmmm I challenge you to make an Evolution making an Evolution

  • @jessicadurham
    @jessicadurham 6 років тому +45

    MOAR
    (plz)

  • @sus_stick
    @sus_stick 2 роки тому +1

    Getting sick in:
    2018: Calm
    2020: *PANIK*

  • @weslysmith7881
    @weslysmith7881 6 років тому

    This channel is going places! Congrats!

  • @anthonysmith1228
    @anthonysmith1228 6 років тому +53

    So when does this AI enslave humanity exactly?

    • @KerbalChris
      @KerbalChris 6 років тому +13

      Anthony Smith the program would crash before that

    • @ThatJay283
      @ThatJay283 6 років тому +3

      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

    • @cleverstudios4565
      @cleverstudios4565 6 років тому +6

      wooosh

    • @anthonysmith1228
      @anthonysmith1228 6 років тому +3

      This is precisely what I wanted to know. It is not a wooosh moment. :3

    • @cleverstudios4565
      @cleverstudios4565 6 років тому +3

      T o t a l l y

  • @TheCarDemotic
    @TheCarDemotic 5 років тому +9

    200,000
    Then I realize how long I’ve been putting of watching this video lmao

  • @dilass
    @dilass 6 років тому +16

    What languages do you code your projects in? Where did you learn to build AI? Great videos btw

    • @runemller2975
      @runemller2975 6 років тому +1

      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

    • @dilass
      @dilass 6 років тому +2

      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

    • @runemller2975
      @runemller2975 6 років тому +2

      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

    • @rumfordc
      @rumfordc 6 років тому

      +Dilan Omer He built in javascript so that we could experiment with it on his website. He normally uses Java.

    • @kacperozieblowski3809
      @kacperozieblowski3809 6 років тому

      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.

  • @jonesrmj
    @jonesrmj 5 років тому

    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.

  • @la33s
    @la33s 6 років тому

    Congratulasion on 200 subs dude! Big fan

  • @-Raylight
    @-Raylight 6 років тому +27

    -3:51-- Level Review?-
    Careful when you're asleep next time your AI will conquer the world
    Do another game! xD

  • @rachelbaier8631
    @rachelbaier8631 6 років тому +10

    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.

  • @prometheus6474
    @prometheus6474 5 років тому +3

    keep on making great videos Mr Memio
    Edit: got a like so someone got the reference

  • @Flaitastic
    @Flaitastic 6 років тому

    MORE LEVELSSSSS
    Great job by the way! Congratulations! It just took one sanity to achieve it!

  • @daburgerbandit1598
    @daburgerbandit1598 3 роки тому +2

    "He must be so bored to have to resort to killing himself repeatedly for entertainment"
    Code Bullet's AI casually predicting quarantine.

  • @V1ctoria00
    @V1ctoria00 6 років тому +13

    Build an A.I. that uses paint or sketch programs to generate art from imputs that have been collected from other UA-cam pages.

  • @nicolasmazzon7231
    @nicolasmazzon7231 6 років тому +6

    I think people want more levels

    • @breadgeorge_
      @breadgeorge_ 6 років тому

      Nice try to get into the next video

  • @uNexAPB
    @uNexAPB 5 років тому +4

    You can use javascript in Unity, And compile the project for web :)

  • @turtlewarlord5508
    @turtlewarlord5508 6 років тому

    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.

  • @BeLhElHeSGUY
    @BeLhElHeSGUY 4 роки тому +1

    Just to note that the generation number and the number of moves on the second level spell out 1 2 3 4 5. Thank you and good night

  • @SimplyAnExistence
    @SimplyAnExistence 5 років тому +5

    It’s said Code Bullet is still trying to beat the levels he already did so he can make the next video.

    • @deepani.a
      @deepani.a 5 років тому

      He could just watch the speed runs you know

  • @bbenny9033
    @bbenny9033 6 років тому +131

    why are you playing on scratch?

    • @bbenny9033
      @bbenny9033 6 років тому +22

      OH SHIT U LETTING US RUN THE AI NICE

    • @nicogutholz9399
      @nicogutholz9399 6 років тому +6

      Scratch is the superior game engine

    • @SanzuRiver
      @SanzuRiver 6 років тому +4

      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

    • @nicogutholz9399
      @nicogutholz9399 6 років тому +4

      飛鳥「月」 I was just kidding

    • @violet_cat.
      @violet_cat. 6 років тому +1

      boredbenny Because the game was made on scratch

  • @jep9092
    @jep9092 6 років тому +83

    AI learns to play the scary maze game

    • @crumblesilkskin
      @crumblesilkskin 6 років тому +13

      TheElement OfFyre
      But... But does it punch?

    • @Jake-n8m3n
      @Jake-n8m3n 6 років тому +1

      thats what i thought the original was when i saw the thumbnail =)

    • @featherworn
      @featherworn 4 роки тому

      Second it

  • @Shapeplusform
    @Shapeplusform 6 років тому +1

    I love watching the ways AI play that a human would never do. The straight line to the coin approach gets such interesting results

  • @tylermitchell185
    @tylermitchell185 6 років тому

    im glad that you made you programs so accessible, youre awesome dude

  • @qzxyst6946
    @qzxyst6946 6 років тому +90

    do a flappy bird ai
    and snakes

  • @Gamimaru1
    @Gamimaru1 6 років тому +36

    i think you are completely making a mistake about the purpose that the ai should learn. you should try to code random levels with blue balls going around randomly and with random location for the green spaces and the coins. THEN that your player learned to take all the coins and reach the green spaces dodging the blue dots you should test it on these levels of the hardest game. in your case you are just brute forcing each level

    • @halomaster2137
      @halomaster2137 6 років тому

      erre4 I don’t code but I don’t think you can take an A.I’s experience from a random level and put them into a level from the game. It’s how we learn pretty much we figure it out by ourselves

    • @Gamimaru1
      @Gamimaru1 6 років тому +11

      Halomaster 213 i code and this is really what an a.i. is. you train a model on some data, in my case the data is a large set of random levels, then the ai learns that it must dodge the blue dots take the coins and reach the green space. once that on most of your data your ai is able to win, you can say that your ai learned that it should dodge the blue dots and take the coins. in this case your a.i can play (if learned well) every game of the hardest game without retrain the model for each level, because it learned the general purpose. what c.b. does is just brute forcing some parameters for a determinate level, but that a.i. can't generalize for other levels indeed he retrained for different levels, and this is not an a.i.

    • @blak4831
      @blak4831 6 років тому +5

      His WHG AIs so far are the equivalent of putting a blind man in an obstacle course without any instructions, and waiting for him to finish it by accident. He's already done more intelligent AI using NEAT, such as the ones for Snake and Asteroids. Employing that same model here would be a lot more interesting, and could perhaps learn how to solve levels it's never encountered before on the first try

    • @spookyturbo1618
      @spookyturbo1618 6 років тому

      It's also technically not bruteforcing as it is not randomly trying every possible movement pattern, as that would take years, but instead evolving its movement pattern based on a set goal. A genetic algorithm is still machine learning, which is what many consider an AI. I personally know a lot of people dislike the term AI as it gives false implications on what machine learning really does. There are more advanced machine learning algorithms like what you are asking for , and I would love to see them, however they are extremely complicated as well. And applying them to beat this first try would be far more complicated then how he used NEAT to learn how to play asteroids and require lots more data.

    • @davisdiercks
      @davisdiercks 6 років тому

      Soooooo Asteroids? Which he already did?

  • @alexinf5765
    @alexinf5765 6 років тому +18

    You should use the same generations for all levels, so you can get a pro AI that can beat all levels.

    • @OP-lk4tw
      @OP-lk4tw 6 років тому +1

      AlexINF Yea I was thinking the same, make a fucking AI that beats the fucking game

    • @fishchips8824
      @fishchips8824 6 років тому +1

      It'll probably need to forget the last level to relearn the next level. But who knows?

    • @DirtyPoul
      @DirtyPoul 6 років тому

      MikeFPV You're right, he'd need a different approach. But if he finds one it would be much more interesting.

    • @alfredwindslow1894
      @alfredwindslow1894 6 років тому +1

      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.

    • @alfredwindslow1894
      @alfredwindslow1894 6 років тому

      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.

  • @RGPankO
    @RGPankO 6 років тому

    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!

  • @kieranmcdermott4524
    @kieranmcdermott4524 6 років тому

    Just wanted to say thanks for the videos and love everyone of them.

  • @bigbox9892
    @bigbox9892 6 років тому +12

    Do the other levels plz

  • @haondoor
    @haondoor 6 років тому +18

    Your love of pewdiepie gives me joy!

  • @victormarinfelip1645
    @victormarinfelip1645 6 років тому +65

    Looking through your code in github this seems just an algo that finds a combination of movements to solve the level blindfold. Change a dot position by the sligthleast and it will fail. It just finds a succession of keyboard inputs so to speak. This is not AI. There is zero perception of the environment and zero abstraction of what it takes to dodge a blue dot.

    • @PandoraMakesGames
      @PandoraMakesGames 6 років тому +6

      You are absolutely right about this! I make AI videos, let me know what you think!

    • @clooo9886
      @clooo9886 6 років тому +7

      Shameful promotion much?

    • @konstantinlogashenko1445
      @konstantinlogashenko1445 6 років тому +1

      Well, yeah, it's just a genetic algorithm, and it works only for one level without relearning the whole thing, and it's the point. Although I do agree it's inaffective.

    • @seigeengine
      @seigeengine 6 років тому +1

      I'd argue this is a distinction between AI in the game context, and AI in a more technical context.
      This absolutely qualifies as AI in the game sense.

    • @mranderson9553
      @mranderson9553 5 років тому

      True while it could exist in a way that allows it to retain knowledge accumulated through levels it is a program which learns even if it's through brute force meaning it does definitely qualify as ai

  • @kamoroso94
    @kamoroso94 6 років тому

    Wow you were busy! Excellent work and congrats on 200K :O

  • @N.i.g.h.t.m.a.r.e.z
    @N.i.g.h.t.m.a.r.e.z 4 роки тому +1

    Wonder how much frustration that AI is going through doing this

  • @snipershot8330
    @snipershot8330 6 років тому +5

    Hey CB! Could you make a tetris AI? That would be amazing

  • @voidedifbroken3953
    @voidedifbroken3953 6 років тому +33

    How exactly does one "pick up" javascript. What kind of superhuman are you.

    • @madmaseri
      @madmaseri 6 років тому +9

      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.

    • @voidedifbroken3953
      @voidedifbroken3953 6 років тому +11

      I'm fluent in a couple of languages, I understand, but javascript. JAVASCRIPT.

    • @OriginalPiMan
      @OriginalPiMan 6 років тому +3

      Javascript is not that bad. Better than PHP at least.

    • @unblob1532
      @unblob1532 6 років тому

      for games ?! not realy sure...

    • @sofia.eris.bauhaus
      @sofia.eris.bauhaus 6 років тому +1

      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

  • @P8qzxnxfP85xZ2H3wDRV
    @P8qzxnxfP85xZ2H3wDRV 6 років тому +6

    I don't think this is an AI. An AI would try to recognize the pattern and not just blindly try every possibility. This solution would immediately break, if you randomize the starting condition.

    • @thomasklok311
      @thomasklok311 6 років тому

      P8qzxnxfP85xZ2H3wDRV this is an ai that uses evolution.
      it tries someting it fails so it tries again and again wit changing the last part only

    • @sheratzy
      @sheratzy 6 років тому

      Survival of the best is not intelligence.

    • @16m49x3
      @16m49x3 6 років тому

      It's not the instance of the player that solves the game that has AI, it's the program generating players that can solve the game, that is AI.

    • @sheratzy
      @sheratzy 6 років тому

      I can write a program to brute force a password. That program generates combinations that can solve the password, but it is not an AI either.
      Evolution isn't AI.

    • @16m49x3
      @16m49x3 6 років тому

      The AI that solves this puzzle, could technically also solve a puzzle that is similar, but not the same.
      You could make 100 different puzzles and evolve an agent that can solve all of them.
      It makes choices based on where it is at any time.
      The choices it makes isn't finite, there are infinitely many input possibilities it has to distinguish between.
      It is not the same as a combination, or a password. It's not just a key that solves THIS puzzle, it's a general purpose agent that can solve any puzzle of this kind. It isn't a sequence of moves. It's a logic tree that chooses moves based on where it is.
      Actually, that's what code bullet should have done. He should have had the fitness function test more than one map. To see how well it solves a puzzle of this kind. Rather than this specific puzzle.

  • @asrew1337
    @asrew1337 6 років тому

    45k subs in 5 days, insanity. also, nice work and more levels

    • @asrew1337
      @asrew1337 6 років тому

      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)

  • @tanyacockle6469
    @tanyacockle6469 6 років тому +1

    Everyone in the comments like "this isn't an AI it's brute force blah blah blah make a real AI" like why don't you do it yourself huh?
    This reminds me of when children tell me to solve a rubik's cube faster. Like unless you can solve a rubik's cube, you can't tell me how fast I'm supposed to be

  • @KratosAurionPlays
    @KratosAurionPlays 6 років тому +5

    I'd like to see all the levels XD

  • @nilss3908
    @nilss3908 6 років тому +15

    I think the ai just remembered the path and didn't learned to play it

    • @lumos-lio-4127
      @lumos-lio-4127 6 років тому +1

      Yes exactly. But isn't that the definition of learning ? Remembering stuff.

    • @lumos-lio-4127
      @lumos-lio-4127 6 років тому

      I totally agree but it's not about intelligence, just learning. For me this AI is like a blind player that only knows when his dying. He don't know where the wall/blue dot are. So the player just remember when his dying and what key combination he did. The AI here just remember Left - Right - Left - Down until it works, where a normal player thinking is more like Left to avoid this dot then Right to avoid this one.
      The only difference is that the AI only use direction where the player use direction by taking in consideration wall and blue dot.

    • @theshmethan3792
      @theshmethan3792 6 років тому

      It did learn the path via a brute force algorithm, which makes it more a machine learning thing than artificial intelligence

  • @ofed500
    @ofed500 6 років тому +14

    Ai learns to play Tetris, plz

    • @Twas-RightHere
      @Twas-RightHere 6 років тому +2

      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.

    • @destructivforce2894
      @destructivforce2894 6 років тому +1

      He has made ones that learn in other videos, like the snake one. Also I hate phone keyboards.

    • @ofed500
      @ofed500 6 років тому +2

      A Rocket Trial and error is still a form of learning, isn't it?

    • @Twas-RightHere
      @Twas-RightHere 6 років тому +1

      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.

    • @ofed500
      @ofed500 6 років тому +2

      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)...

  • @hunterchewning6725
    @hunterchewning6725 6 років тому

    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...

  • @MiguelMartinez-hm9wk
    @MiguelMartinez-hm9wk 6 років тому

    More levels definitely. You’re dope.

  • @dinosorusmechkiller7960
    @dinosorusmechkiller7960 6 років тому +4

    I wish i was just as good as that Ai.

    • @ThatJay283
      @ThatJay283 6 років тому

      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.

  • @fiddley
    @fiddley 6 років тому +267

    This is not AI, it's just brute force. For it to be AI it needs to learn to avoid the dots, so when you get to the next level, it should have some idea what to do.

    • @saadmanomar7754
      @saadmanomar7754 6 років тому +4

      I want to learn more please explain

    • @Bozothcow
      @Bozothcow 6 років тому +82

      He means that the AI, after having learned how to beat one level, still has no idea how to solve the next and needs to go through the process again for the next level, because it doesn't learn to avoid the blue dots, it just learns to get as close as possible before being brutally murdered.

    • @cheungch1990
      @cheungch1990 6 років тому +23

      I think you can build a more general AI by feeding it with huge amount of game variation and ask it to solve them, then it may learn how to recognise familiar game patterns in an entirely new game setting. But I guess it will require a much more sophisticated deep learning programme. Somewhat similar to AlphaGo/AlphaZero.

    • @akivirus7020
      @akivirus7020 6 років тому +1

      Like in the first attemps learn the patrons of movement of the dots, then trying to avoid then while moving to the goal

    • @kluuvien8204
      @kluuvien8204 6 років тому +4

      YipHyGaming - Truncation [150 coming] i mean, it is trying every move possible, 700 'players' trying different moves and then using the one that got the furthest to try 700 more.. not sure i see the difference, or the need for such hostility on a fun video

  • @AG-gu7bs
    @AG-gu7bs 6 років тому +4

    Thank you!

  • @superairdog6136
    @superairdog6136 6 років тому

    Yes, more. Please. Also, I like that idea of this being a side series.

  • @andrewxc1335
    @andrewxc1335 6 років тому +1

    5:15 - So for your "move" options, is "wait" one of them, or just directions?

  • @firespark0774
    @firespark0774 5 років тому +8

    Create AI that makes random games to play

  • @pyjamapro234
    @pyjamapro234 6 років тому +110

    More levels Kappa

    • @pyjamapro234
      @pyjamapro234 6 років тому

      earth is a donut fine 😡

    • @dirtydan1887
      @dirtydan1887 6 років тому

      What does kappa mean

    • @dirtydan1887
      @dirtydan1887 6 років тому

      earth is a donut thank you

    • @AM-space
      @AM-space 6 років тому

      Aerede krappa. More than kappa

    • @brian_8852
      @brian_8852 6 років тому +2

      earth is a donut
      that’s no what Kappa mean you fucking normie DansGame

  • @zxt327
    @zxt327 6 років тому +4

    A little disappointed that I didn't find this channel earlier

  • @nicho.7400
    @nicho.7400 6 років тому

    Ayy you hit 200 sub
    Congrats xD

  • @CyrusHalcyon
    @CyrusHalcyon 5 років тому

    The entire game. You can even do it over multiple videos, I'll watch each of every one of them.

  • @craftyblue8576
    @craftyblue8576 6 років тому +9

    Can AI play geometry dash?

    • @ThatJay283
      @ThatJay283 6 років тому +1

      CraftyBLUEstone he would probably code it with a similar AI to the dinosaur game, although geometry dash is way more complex to code. He likes to code simple games to see if an AI can beat it, but I think an AI could beat geometry dash.

  • @ninjoewd4900
    @ninjoewd4900 6 років тому +7

    TWO HUNDRED!!!!

  • @internetdinosaur8810
    @internetdinosaur8810 6 років тому +20

    Notification squad

    • @vali69
      @vali69 6 років тому +3

      Ur name should be "no internet dinosaur"

    • @shadiester
      @shadiester 6 років тому

      Twitter Squad

    • @failedkirby618
      @failedkirby618 6 років тому

      Oh no, the wifiless monster

    • @ShimotsukiSaizo1
      @ShimotsukiSaizo1 6 років тому

      Orichishu the hell's your problem.

    • @ShimotsukiSaizo1
      @ShimotsukiSaizo1 6 років тому

      Damn you must realy have problems with Internet.

  • @kguynchkh
    @kguynchkh 3 роки тому +1

    ”Im in the early stages of being a bit sick” every one in 2020: ”Corona viruuus!!”

  • @staticerror3613
    @staticerror3613 6 років тому

    I think I like to watch the entire population all try for it at the same time. It might be a bit more confusing, but at the same time I find it almost mesmerizing.

  • @darthvaderbutwayshittier7054
    @darthvaderbutwayshittier7054 6 років тому +3

    This is how you get GLaDOS

  • @Gerpar_
    @Gerpar_ 6 років тому +3

    this.videoLiked = true;
    More this.()
    always more this.()

  • @Akoalawithshades
    @Akoalawithshades 6 років тому +28

    Not sure this can be classed as "AI". Still pretty neat but, it's just making small changes randomly. AI needs to be able to perceive patterns and rules, and use this knowledge to complete a task.

    • @richtigmann1
      @richtigmann1 6 років тому

      agreed

    • @richtigmann1
      @richtigmann1 6 років тому

      it needs to know the game and the rules not the level

    • @MandrakeGuy
      @MandrakeGuy 5 років тому

      but its steal learning, thats the peice of ze rezizstonceokcSELPFHSltnS

  • @MainMenu_
    @MainMenu_ 6 років тому

    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

  • @lf12345
    @lf12345 6 років тому

    2:55, cool I like it more if an AI is learning on it's own than if it gets a headstart