I Created a PERFECT SNAKE A.I.

Share
HTML-code

Comments • 14 128

  • Michal Viljoen
    Michal Viljoen  2 hours back

    Yoh what and where did you study????

    • Al Rifat
      Al Rifat  3 hours back

      He went into hibernation after graduating from university.

      • Dumb-_-Collins
        Dumb-_-Collins  4 hours back

        *Normal tycoon music playing*
        When shit gets tense :
        FUCK IT WHERE PLAYING GOD OF WAR NOW!
        *super ass tense music starts playing*

        • Spartan War118
          Spartan War118  8 hours back

          I see multiple versions of code bullet fighting himself

          you okay man?
          lol, not the first time i had an event like that

          • Xian Naix
            Xian Naix  9 hours back

            Imagine he mispelled something while typing all those algorithms

            • Team X of Cha0s
              Team X of Cha0s  9 hours back

              Are you a free man now? Uni over? Finally more videos?

              • Aske Grundahl
                Aske Grundahl  10 hours back

                I would love to see you make an AI that can find diamonds in minecraft

                • thecahn
                  thecahn  10 hours back

                  Any perfect AI would actually be an overfitted algorithm, not an AI, wouldn’t it? Especially for a small task like this.

                  • TritanicWolf
                    TritanicWolf  11 hours back

                    What is his website? Please give me a link.

                    • Adrian playsjr
                      Adrian playsjr  12 hours back

                      Who else see a maze or is it just me

                      • Anton Gorrell
                        Anton Gorrell  13 hours back

                        maybe make it so the snake needs to have access to 100% of the open spots?

                        • Siez The Moment
                          Siez The Moment  13 hours back

                          Can an A.I. play Tetris?

                          • Cakeru
                            Cakeru  15 hours back

                            Please fucking upload part 2 of enigma:(

                            • kazuto kisuguya
                              kazuto kisuguya  15 hours back

                              Why does it keep going red

                              • Demus Demore
                                Demus Demore  21 hours back

                                imagine a 3d game level that changes based on this snake algorithm 12:00, like layers of fear style level changes

                                • Team Money Lacrosse
                                  Team Money Lacrosse  24 hours back

                                  Do A.I learns to play rider

                                  • Alexander Mccann-goodnow

                                    i hope you see this but theres this game that i always play, its called curveball where its basically pong but 3-d and it has curving physics

                                    • Noodle Games
                                      Noodle Games  1 days back

                                      Hype Bullet should be blue

                                      • Falling Feather
                                        Falling Feather  1 days back

                                        Fuck you to

                                        • j6g Teeworlds
                                          j6g Teeworlds  1 days back

                                          17:46 music, please?

                                          • trash cat
                                            trash cat  1 days back

                                            Ur editing is amazing tho ????

                                            • KimetMX
                                              KimetMX  1 days back

                                              LOL! Love the humor!

                                              • Buddy Wirths
                                                Buddy Wirths  2 days back

                                                Hey CB, I think it'd be interesting if you programmed an AI to learn historical trends in stock trading, then make trades based off of that. The possibilities for it are endless, have it watching thousands of stocks for the tale-tale signs of an upward trend soon to come based off of the hundreds of thousands of hours and trades that have gone on to "teach" it what a good trade is or isn't. I guess the end goal would be to have a bot that watched thousands of hours worth of trends and could constantly be searching for which stocks are going to increase in value.


                                                This would obviously not be easy and isn't really your field, and I know you probably won't see this, but I think it'd be very interesting just to see if an AI could do it.

                                                • PeppaPig Inator
                                                  PeppaPig Inator  2 days back

                                                  Can someone show me how to code like some basic 2D games I find this stuff so satisfying I'm 12 and I've been wanting to code and make games for 4 years now so can anyone tell me what website to go on or teach me basics?

                                                  • nothing ._.
                                                    nothing ._.  2 days back

                                                    pls teach me

                                                    • DestructionPlus
                                                      DestructionPlus  2 days back

                                                      Make an AI to play santa tracker games. Games like "Penguin Dash" and "Elf Jetpack" or some other shid.

                                                      • Stefan Mitkov
                                                        Stefan Mitkov  2 days back

                                                        Nobody :

                                                        Code: AI learns how to aim and launch a nuclear rocket at North Korea

                                                        • Creeper The Creeper
                                                          Creeper The Creeper  2 days back

                                                          Can you try to make an AI that tries to beat “long live the new fresh” from just shapes and beats (preferably S rank, probably A rank at highest)

                                                          • Charlie Clarke
                                                            Charlie Clarke  2 days back

                                                            Who ever finds this interesting is boring

                                                            • Rafiq Raja
                                                              Rafiq Raja  2 days back

                                                              Lmao i loved your commentary though 😂😂

                                                              • Pepa Ludrovský
                                                                Pepa Ludrovský  2 days back

                                                                Even Snake isnt Bullet proof

                                                                • K90SAS - Choppu
                                                                  K90SAS - Choppu  2 days back

                                                                  why does he blur out curse words sometimes but only sometimes?

                                                                  • Goku Black
                                                                    Goku Black  2 days back

                                                                    Was This find out now on dragonball Z reverence?

                                                                    • Hansa Plast
                                                                      Hansa Plast  2 days back

                                                                      oh. my. god. … GO-GO-GADGET!!
                                                                      isntant childhood Flashbacks xD

                                                                      • 김재훈
                                                                        김재훈  2 days back

                                                                        14:11

                                                                        • SiegeMaximo
                                                                          SiegeMaximo  2 days back

                                                                          Please upload more often. Your videos are incredible

                                                                          • _oreolife_
                                                                            _oreolife_  2 days back

                                                                            Hey i was wondering if u could revisit the ai learn pool but instead of using the genetic mutation learning can u use q learning or another type of coding i want to see what happend if it learns more on the fly in real time

                                                                            • AlexChannel
                                                                              AlexChannel  2 days back

                                                                              First run amazing, second run... why you didn't just simply cancel surviving mode direction when the apple can be reach? Like there is a fast and safe path available, but once your ai is in bruteforce mode, you keep it in that stat. But why?
                                                                              from 8:45 to 14:15 is just a shitty demonstration. no need of 10min to show that it can survive.

                                                                              • masenkoh
                                                                                masenkoh  2 days back

                                                                                I need this to be my screensaver or something. Or like, be the loading screens for programs from now on or something that says "% downloaded" in this way

                                                                                • masenkoh
                                                                                  masenkoh  2 days back

                                                                                  ...erm, i think the snake was still alive at the end >_>

                                                                                  • David Savy
                                                                                    David Savy  2 days back

                                                                                    This sick lad here has to have ADHD. Thats shit i forget when im working

                                                                                    • Sune user
                                                                                      Sune user  3 days back

                                                                                      Finally

                                                                                      • Taylor youngreen
                                                                                        Taylor youngreen  3 days back

                                                                                        7:42 perhaps if you adjusted the % amount of empty blocks it might help. perhaps 85% or 90% or maybe even 100%

                                                                                        • Taylor youngreen
                                                                                          Taylor youngreen  22 hours back

                                                                                          @Mu Che ya that might work. Which is why I want to play around with the source code.

                                                                                        • Mu Che
                                                                                          Mu Che  1 days back

                                                                                          I don't think there is a big difference between 80% and 85% or 90% in that there will always be some edge cases where it will fail, like leaving some empty spaces similar to the situation of the hamiltonian snake.
                                                                                          100% might work for these cases, but could create some weird behavior, like snake is going straight towards a wall to get an apple and suddenly turns back one tile away from it, starts to go along its body, because it realized that getting that apple cuts off 50% of empty spaces.
                                                                                          A better heuristic could be to treat the tail as empty space worth of length of snake. That is, if it has to decide between a contiguous area of 30 tiles without the tail and 10 tiles with the tail (and the snake is long, e.g. 30 tiles), it's better to choose the one with tail, as that tail will move away eventually).

                                                                                      • NotaLoca12341
                                                                                        NotaLoca12341  3 days back

                                                                                        "Frankly it means my degree was fucking useless"

                                                                                        I know that feeling WAY TO WELL my friend. WAY to well! 😔😒

                                                                                        • Alex Kuradnov
                                                                                          Alex Kuradnov  3 days back

                                                                                          I am so happy to see you back!!!

                                                                                          • Antosupre 460
                                                                                            Antosupre 460  3 days back

                                                                                            This sanity sound😂😂

                                                                                            • MMAoracle
                                                                                              MMAoracle  3 days back

                                                                                              Why not just have it go... up and down and leave some room at the top to escape?

                                                                                              • The Ultimate Irishman
                                                                                                The Ultimate Irishman  3 days back

                                                                                                What language and program are you using for your projects?