AI learns to play Google Chrome Dinosaur Game || Can you beat it??

  • Published: 29 April 2018
  • Using NEAT I created an AI to play the Google Chrome Dionsaur Game, and its awesome
    Big thanks to for supporting this channel check them out at

    Become a patreon to support my future content as well as sneak peaks of whats to come.

    Check out my Discord server

Comments • 11 516

  • Code Bullet
    Code Bullet   2 years back

    Hey guys
    I know its been like 2 months
    but the source code is finally on github
    check it out here:
    sorry again about the lateness

    • The StingingRay
      The StingingRay  3 weeks back

      Hey how do you start your YouTube channel because I have one but I don't know how long until it gets a common amount of views any ideas?

    • The StingingRay
      The StingingRay  3 weeks back

      How did you start your YouTube channel because I have one but how long does it take to get a common amount of views?

    • Brandon Randolph-Seng
      Brandon Randolph-Seng  3 weeks back

      You forgot the night mode

    • Charlie Mendoza
      Charlie Mendoza  1 months back

      Its CACTI not CACTUSES

  • Spider Aba
    Spider Aba  1 days back

    I like how there was that one dinosaur per generation that just ducked and ran headfirst to its death.

    • Mr. Cornbread
      Mr. Cornbread  2 days back

      I jumped over the highest bird on the game.

      • OXMOND Tutorials
        OXMOND Tutorials  2 days back

        Damn birds! Haha 🤪 Really Nice AI 👍🤓

        • Krystan Ruitenbeek
          Krystan Ruitenbeek  4 days back

          If you jump at the right time, you can jump over the third bird. Late game not in the beginning

          • I am YES
            I am YES  5 days back

            That last bit was for the ten minute mark... respect dude

            • Garra Blanca
              Garra Blanca  7 days back

              IA va Tf2

              • Mike OxLong420
                Mike OxLong420  1 weeks back


                • SoulFoxie
                  SoulFoxie  1 weeks back

                  "I drew up the sprites and chucked them in"
                  Really? Because to me it looks like you just stole them

                  • Daria Stalions
                    Daria Stalions  1 weeks back

                    The little 'pat pat pat' of the dinosaur feet when it runs is absolutely adorable

                    • justa man
                      justa man  2 weeks back

                      It's decent, but if you ask me i prefer the old fashioned way of people being skillful. Reminds me of a great run i saw around these parts:

                      • Sourav Goel
                        Sourav Goel  2 weeks back

                        Which language it has been coded can anybody tell me i want to know

                        • Free Wifi
                          Free Wifi  2 weeks back

                          U good bro?

                          • TheBadGamer
                            TheBadGamer  2 weeks back

                            ​Js Script to hack Dino AutoPlay watch my Video for js code

                            • Kaiphi Dio
                              Kaiphi Dio  2 weeks back

                              I just realized you have Clip Studio Paint on your hot bar. Excuse.. me?

                              • Timothy Trex3
                                Timothy Trex3  2 weeks back

                                Why did you have to release the code... now all YouTube has been is fucking retarded kids with their bullshit Guinness record 1 year dumbass crap. Just makes me so fucking irate...

                                • crag
                                  crag  2 weeks back

                                  3:55 that sync

                                  • polski tygrys
                                    polski tygrys  3 weeks back

                                    1 problem the game Has nicht too

                                  • Counter - Neutral
                                    Counter - Neutral  3 weeks back

                                    you forgot the night

                                    • Swift Echo
                                      Swift Echo  3 weeks back

                                      Chrome://dino to get to the game without turning off WiFi!

                                      • Einron
                                        Einron  3 weeks back

                                        Literally nobody
                                        CB: *CaCtuSes*

                                        • numbertwopistol
                                          numbertwopistol  3 weeks back

                                          Another place to learn coding is

                                          • Alex Morrison
                                            Alex Morrison  3 weeks back

                                            You should creat a genetic AI till ot reaches singularity

                                            • Cool Man Victor
                                              Cool Man Victor  3 weeks back

                                              Google Employees said the game takes 57 million years to complete

                                              • Rich Hutter
                                                Rich Hutter  4 weeks back

                                                fun to think about the similiarties between your logic picture and the google play logo.

                                                • Luke Honeycutt
                                                  Luke Honeycutt  4 weeks back

                                                  U forgot the best part, every time it got 💯 it dings

                                                  • Bonnie Gangemi
                                                    Bonnie Gangemi  4 weeks back

                                                    This is a hack code for the dinosaur game Runner .instance_.gameOver that is the code for the dinosaur and this is a other one is Runner .instance_.setSpeed(100000000)

                                                    • Ezra Brannen
                                                      Ezra Brannen  4 weeks back

                                                      Hi I'm also a nerd but it's ok because some day we will CHANGE THE WORLD!!!!!!!!!!

                                                      • DawnOfTheComputer
                                                        DawnOfTheComputer  4 weeks back

                                                        Tracklist please

                                                        • Bobtc boy
                                                          Bobtc boy  4 weeks back

                                                          @Code Bullet You have very good scripting. Keep it up! Best Wishes!

                                                          • Logan Hamersma
                                                            Logan Hamersma  4 weeks back

                                                            You realize there's actually an ending to the dinosaur game right

                                                            • yaseen ibrahim
                                                              yaseen ibrahim  4 weeks back


                                                              • Mohammad bin ashraf
                                                                Mohammad bin ashraf  4 weeks back

                                                                at the seven hundred mark the day turns into night

                                                                • minecreadeble gamer
                                                                  minecreadeble gamer  4 weeks back

                                                                  1v1 me

                                                                  • Logie bear playz
                                                                    Logie bear playz  4 weeks back

                                                                    Set the speed to like a hectillion then get it to reach the end because the developers said that there is an ending but it takes around 10 million years

                                                                    • linkgame 2999
                                                                      linkgame 2999  4 weeks back

                                                                      Good music, i am taking a. AP CSP class in ninth grade

                                                                      • Garret Williams
                                                                        Garret Williams  4 weeks back

                                                                        Dont even do coding and I know what algorithm is

                                                                        • sloth4z
                                                                          sloth4z  4 weeks back

                                                                          Why do you always remake the game instead of making an AI play the actual game?

                                                                          • Kai Andres
                                                                            Kai Andres  3 weeks back

                                                                            thats pretty easy, cause this AI would not win the original game.

                                                                            when you look closely you will see that the AI not learned how to play the google chrome dinosaur game.
                                                                            it learned to play a specific round of the dinosaur game. (like every cactus and bird is at the same position in every evolution. only some sprites are randomized)

                                                                        • Melwin Jay Asturias
                                                                          Melwin Jay Asturias  4 weeks back

                                                                          How to be like you?
                                                                          Superb skill bruh!

                                                                          • Nokia 3310
                                                                            Nokia 3310  4 weeks back

                                                                            *TEACHER* - why the dinosaur died?

                                                                            *_ME_*- Bescause cactus

                                                                            1000 IQ level _PRO_

                                                                            • JulzMusic
                                                                              JulzMusic  4 weeks back

                                                                              Didn’t even know the dinosaur game existed so I was blown away by the rest of the video 😂

                                                                              • Goblin088
                                                                                Goblin088  4 weeks back

                                                                                NBN is pretty good for me.

                                                                                • Wren Audy
                                                                                  Wren Audy  1 months back


                                                                                  • Wil Hudson
                                                                                    Wil Hudson  1 months back

                                                                                    Teach AI how to play geometry dash

                                                                                    • Ilya Labowka-Poulin
                                                                                      Ilya Labowka-Poulin  1 months back

                                                                                      On the highest bird you don’t have to duck you just have to not jump

                                                                                      • Jordy van Dongen
                                                                                        Jordy van Dongen  1 months back

                                                                                        I WANT THE CODE

                                                                                        • Tina Wilson
                                                                                          Tina Wilson  1 months back

                                                                                          Be careful your house could burn down in two years! If you live in Australia of course 🥴🤞🏾👏🏾 🔥

                                                                                          • DatPugThatGames
                                                                                            DatPugThatGames  1 months back

                                                                                            How did I find this in my recommendations oh yeah he is smart boi. Hahahahha my internet just turned off!🐕