A.I. Learns to play Flappy Bird

  • Published on Dec 20, 2018
  • AI teaches itself to play flappy bird
    huge thanks to Brilliant.org for sponsoring this video
    check them out: www.brilliant.org/codebullet
    Twitter: code_bullet
    Patreon: www.patreon.com/CodeBullet
    Discord: discord.gg/UZDMYx5

Comments • 12 412

  • Jammerbf
    Jammerbf 2 years ago +9

    It's funny how this shows us that a popular game like flappy bird could be made in a literal day

  • Macafee
    Macafee 2 years ago +6

    AI: “what is my purpose?”

  • Megan Barhorst

    "I'm gonna make an AI that can play a particular video game well in 24 hours!" "Sounds like an impressive time-" "So step 1 is to reinvent the entire game." "... what."

  • Zyloa
    Zyloa Year ago +5

    I was wondering why he didnt use the actual game but then I remembered...

  • Dinar Dinar
    Dinar Dinar 2 years ago +523

    He didn't just make an AI, he also recreated the game

  • Vee
    Vee Year ago +4

    me: watches this in summer

  • SoyNutsAndKale
    SoyNutsAndKale 2 years ago +5

    Did we just watch a guy flex on us about his coding skills for 7 mins?

  • Theater kid emily
    Theater kid emily Year ago +4

    “I tried to make it christmasy but somehow I just broke everything”

  • alan smithee
    alan smithee 3 years ago +2

    "I tried to make it Christmasy but somehow I just broke everything"

  • the funny guy from the burger king h

    Plot twist: the perfect AI was achieved at Gen 1 when the birds just went straight up above the top pipes and flew above all of it off the screen

  • HypnoMan
    HypnoMan 3 years ago +5

    I liked that it only took 6 gens to perfect it only shows how stupidly simple the game is

  • Bronson Carder
    Bronson Carder Year ago +131

    I like how you went to all that trouble to make sure the bird could see a bunch of different things... and then, literally the only input it make use of was the distance to the bottom pipe. lmao

  • Muffiny Muffin
    Muffiny Muffin 2 years ago +12


  • Peter Marsella
    Peter Marsella 2 years ago +1


  • Madara uchiha
    Madara uchiha 2 years ago +1

    The faster it gets the more it feels like it's going backwards.

  • monsterkingrpk
    monsterkingrpk Year ago +670


  • Nick Z Games
    Nick Z Games 2 years ago +996

    AI: What is my purpose?

  • Nicholas Leclerc
    Nicholas Leclerc Year ago +15

    You haven’t taken into account the increase in speed as the game goes on; and it probably makes the variability of the heights of the gaps even harder to maneuver with, and that’s another level of difficulty for a machine-learning algorithm that emulates the rational aspect of human learning;

  • Pedakin
    Pedakin 3 years ago +1

    The time it takes for this video is truly remarkable. The coding, editing, animation. I hope you have a team and it’s not just you cause wow.

  • Wave
    Wave 2 years ago +4

    "I teach an ai to play flappy Bird"