I Created a PERFECT SNAKE A.I.

Share
HTML-code

Comments • 14 118

  • Aske Grundahl
    Aske Grundahl  13 minutes back

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

    • thecahn
      thecahn  22 minutes 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  1 hours back

        What is his website? Please give me a link.

        • Adrian playsjr
          Adrian playsjr  2 hours back

          Who else see a maze or is it just me

          • Anton Gorrell
            Anton Gorrell  3 hours back

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

            • Siez The Moment
              Siez The Moment  3 hours back

              Can an A.I. play Tetris?

              • Cakeru
                Cakeru  5 hours back

                Please fucking upload part 2 of enigma:(

                • kazuto kisuguya
                  kazuto kisuguya  5 hours back

                  Why does it keep going red

                  • Demus Demore
                    Demus Demore  11 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  14 hours back

                      Do A.I learns to play rider

                      • Alexander Mccann-goodnow
                        Alexander Mccann-goodnow  15 hours back

                        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  17 hours back

                          Hype Bullet should be blue

                          • Falling Feather
                            Falling Feather  17 hours back

                            Fuck you to

                            • j6g Teeworlds
                              j6g Teeworlds  21 hours 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  1 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  1 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 ._.  1 days back

                                        pls teach me

                                        • DestructionPlus
                                          DestructionPlus  1 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  1 days back

                                            Nobody :

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

                                            • Creeper The Creeper
                                              Creeper The Creeper  1 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  2 days back

                                                                          Finally

                                                                          • Taylor youngreen
                                                                            Taylor youngreen  2 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  13 hours back

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

                                                                            • Mu Che
                                                                              Mu Che  15 hours 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  2 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  2 days back

                                                                              I am so happy to see you back!!!

                                                                              • Antosupre 460
                                                                                Antosupre 460  2 days back

                                                                                This sanity sound😂😂

                                                                                • MMAoracle
                                                                                  MMAoracle  2 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  2 days back

                                                                                    What language and program are you using for your projects?

                                                                                    • Gg Vg
                                                                                      Gg Vg  2 days back

                                                                                      Can A.I learn how to play QWOP?

                                                                                      • Gaming Semlan
                                                                                        Gaming Semlan  2 days back

                                                                                        Can you teash A.I to Play pac-man.

                                                                                        • Ramazan Durmaz
                                                                                          Ramazan Durmaz  2 days back

                                                                                          Im quite far away from these. I barely made a simple homework the programmer gave me. Doesn't work properly. Make me wanna give up at times

                                                                                          • László Házi
                                                                                            László Házi  2 days back

                                                                                            Couldn't you simply use scores to force the AI or it'd be way too much work?

                                                                                            • St.Ashley
                                                                                              St.Ashley  2 days back

                                                                                              i am russian and i dont understand, but i left a like and subscribed.

                                                                                              • Taylor Summers
                                                                                                Taylor Summers  3 days back

                                                                                                Create an AI that can play Doodle Jump