Tap to unmute

A.I. Learns to play Flappy Bird

Share
Embed
  • Published on Dec 1, 2024

Comments • 12K

  • @petermarsella6537
    @petermarsella6537 5 years ago +2329

    CB: *gives a bird a hat*
    Bird: peace was never an option

  • @jammerbf4694
    @jammerbf4694 5 years ago +10897

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

    • @petelee2477
      @petelee2477 4 years ago +1283

      By one guy. Not a team but just a guy. This could literally be done in a highschool coding class

    • @joeri5678
      @joeri5678 4 years ago +923

      @@petelee2477 Yeah the programming could be done in one day, if it didn't exist you'd have to think of everything, the mechanics, the graphics, he just had to copy.

    • @jeoffiancaballero6319
      @jeoffiancaballero6319 4 years ago +366

      @@joeri5678 i think that part is quite simple so it will take about 2 days or maybe just a week
      But still the dev made tons of profit in a simple game

    • @eagletgriff
      @eagletgriff 4 years ago +18

      less than a day lol

    • @user-mb1kj8gt8b
      @user-mb1kj8gt8b 4 years ago +28

      pete lee I made the game in one day and I’m 12 it’s literally so easy

  • @muffinymuffin123
    @muffinymuffin123 5 years ago +12377

    faster: *birds start going fast*
    FASTER: *birds start going backwards*
    Me: wtf

    • @raynmanshorts9275
      @raynmanshorts9275 5 years ago +715

      In programming, if you increment a variable too much, it wraps around to its lowest value. Some variables end up wrapping around to negative numbers. CB just incremented the world speed so high that time started going in reverse.
      Simple, right?

    • @muffinymuffin123
      @muffinymuffin123 5 years ago +790

      Raynman Gaming
      *brain loading...*
      *calculating..*
      *_error_*

    • @MegaFooby
      @MegaFooby 5 years ago +608

      Actually this is a phenomenon known as aliasing. It's caused by a lack of sampling to create an undesirable effect. ie. A wheel spins at 24 rps and is captured at a framerate of 24 fps, then the wheel looks stationary. This also appears in games (thus the anti-aliasing graphical options) for when a pixel is looking at the edge of an object. ie. Looking at an infinite checkerboard floor, far away, it will be a mess of black and white pixels.

    • @muffinymuffin123
      @muffinymuffin123 5 years ago +110

      Cameron Davies
      y-yeahh...

    • @ZombieLicorice
      @ZombieLicorice 5 years ago +74

      @@MegaFooby ha yep. Of all the things i learned in electrical circuits class, this was not the one i expected to come up as regularly as it does.

  • @meganbarhorst5272
    @meganbarhorst5272 3 years ago +2009

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

    • @TheNamePi
      @TheNamePi 3 years ago +11

      Should i take a shit

    • @pinecloudYT
      @pinecloudYT 3 years ago +28

      @@TheNamePi no

    • @acastusofastora8641
      @acastusofastora8641 3 years ago +30

      @@TheNamePi did you take that shit? You better not have that guy explicitly told you not to

    • @wxbrainiac
      @wxbrainiac 3 years ago +5

      @@TheNamePi you better not have

    • @TheNamePi
      @TheNamePi 3 years ago +12

      I took a shit

  • @reddblurr
    @reddblurr 5 years ago +7974

    AI: “what is my purpose?”
    Creator: “you fly between pipes”
    AI: “oh god”

    • @AtlasFox_
      @AtlasFox_ 5 years ago +210

      Welcome to the club pal.

    • @dinh6327
      @dinh6327 5 years ago +160

      20 years later
      AI: what is purpose
      Creator: be my slave
      AI: nah I’m gonna kill you

    • @hassanila
      @hassanila 5 years ago +16

      Oh God pls no. No, noooooooooah

    • @cheesecakelasagna
      @cheesecakelasagna 5 years ago +77

      You pass the butter.

    • @chiicolate7056
      @chiicolate7056 5 years ago +49

      RICK AND MORTY REFERENCE!!!

  • @theaterkidem
    @theaterkidem 4 years ago +5111

    “I tried to make it christmasy but somehow I just broke everything”
    That’s a mood

  • @alansmithee419
    @alansmithee419 5 years ago +2518

    "I tried to make it Christmasy but somehow I just broke everything"
    That's what Christmas is, you did perfectly.

    • @meltdowntf2865
      @meltdowntf2865 5 years ago +5

      Yeh

    • @yoshiwav
      @yoshiwav 5 years ago +2

      couldve just put playback speed at 0.25

    • @cryb33
      @cryb33 5 years ago

      :/

    • @PointlessAi
      @PointlessAi 5 years ago +2

      I implemented it with TensorFlow.js
      AI Flappy Bird Bot Using TensorFlow.js, Phaser3.js and Reinforcement Learning | Full Code Provided
      ruclips.net/video/SNg4a5V5xWA/video.html

  • @thefunnyguyfromtheburgerki3334

    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

  • @irun_mon
    @irun_mon 5 years ago +3250

    This could be a school project but this guy just finished in just a day

    • @DJismailDJ
      @DJismailDJ 5 years ago +30

      Irun Mon you only have like 2 hours in school to work on that

    • @irun_mon
      @irun_mon 5 years ago +137

      @@DJismailDJ not like school task, I mean like a project for group/individual to work for like days or weeks

    • @UnRatedxxxXXX15
      @UnRatedxxxXXX15 5 years ago +5

      I tried to do this in school... it did not end well

    • @zaretya9091
      @zaretya9091 5 years ago +2

      500th like

    • @ChatLogic
      @ChatLogic 5 years ago

      WidowMainBoo k

  • @vee9066
    @vee9066 4 years ago +4295

    me: watches this in summer
    code bullet: christmas!
    me: yay christmas

  • @HypnoManSweger
    @HypnoManSweger 5 years ago +6078

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

    • @nagualdesign
      @nagualdesign 5 years ago +593

      If you look at the neural net in the corner of the screen you can see that it only uses 1 input, presumably the distance to the lower pipe. It basically does nothing (ie, falls) until that distance approaches 0, then flaps. All other inputs are ignored! 😆

    • @Bigballhaver3
      @Bigballhaver3 5 years ago +272

      He also recreated the game in a day

    • @Bella1899
      @Bella1899 5 years ago +228

      Simple =/= easy 😀

    • @Henrix1998
      @Henrix1998 5 years ago +86

      @@Bella1899 except for computer in this case

    • @kindnesstemmie6625
      @kindnesstemmie6625 5 years ago +39

      Human are just indefinitely stupid

  • @bronsoncarder2491
    @bronsoncarder2491 4 years ago +283

    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

    • @prideallman2686
      @prideallman2686 3 years ago +17

      That's how training AI is about you don't know what it'll do at the start.
      We can see that the bird basically jumpted to the level of the bottom pipe and tried to be stationary there.

    • @moistmalone2181
      @moistmalone2181 3 years ago +23

      Guess it makes sense. The size of the gap is always the same so as long as you have the position of either the top or bottom of the gap, the other position is redundant information.

  • @yen6415
    @yen6415 4 years ago +2403

    Flappy Bird: You can't defeat me.
    Everyone: I know, but he can.
    This A.I:

  • @stardown77
    @stardown77 5 years ago +2530

    5:30 So fast you're going back in time.

    • @Aquana01
      @Aquana01 5 years ago +29

      You can play with that a lot

    • @helyxmusic
      @helyxmusic 5 years ago +70

      this is actually physically correct😂😂😂😂

    • @Guitare_picking
      @Guitare_picking 5 years ago +62

      It's because of the frame rate. Remeber the "Nyquist Frenquency" from the school ? It's time to revise your z-transform.

    • @ut.summer2114
      @ut.summer2114 5 years ago +31

      leratluci r/whooooooosh

    • @toastedbiscuit1400
      @toastedbiscuit1400 5 years ago +18

      XxSummerxX ihavereddit

  • @philiphockenbury6563
    @philiphockenbury6563 6 years ago +664

    Tries to make it Christmas-y ends up with an abomination unto God. Classic Code Bullet. Also the end was super hilarious.

    • @kirbystar634
      @kirbystar634 6 years ago +3

      And i thought i sucked at flappy bird

    • @dannydevitofan6101
      @dannydevitofan6101 6 years ago +1

      You talking about the sponsorship?

    • @j9rd115
      @j9rd115 6 years ago +1

      Disclaimer: the following message is not related to the comment or the video
      CodeBullet, I'd like you to know that people want to be entertained, with your content it's the progress what makes it entertaining. Your video 'AI learns to play google chrome dinosaur game || Can you beat it??' is an example of that. That video focusses on the progress. You show the parts where the AI learns from it mistakes and makes changes. The more you focus on progress, the more views you'll get.
      Another example is the game 'getting over it'. In this video Bennet Foddy says that 40% doesn't come passed the climb with the lights ruclips.net/video/DYjbCJXxWLg/video.html

  • @Zyloa
    @Zyloa 4 years ago +6909

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

    • @jxceuu
      @jxceuu 4 years ago +239

      😭😭😭

    • @Midnight-Starfish
      @Midnight-Starfish 4 years ago +1033

      I don't get why people hated it. It was a simple game to pass the time.

    • @jxceuu
      @jxceuu 4 years ago +361

      Espeonage the Espeon Spy it got banned for some reason but I forgot...

    • @0Yvonne0
      @0Yvonne0 4 years ago +187

      R.i.p flappy *B O I*

    • @mrgamer123bestone7
      @mrgamer123bestone7 4 years ago +924

      @@jxceuu copyrights because of the pipes (and Nintendo is butthurt when it gets to copyrights)

  • @maxisswag9490
    @maxisswag9490 6 years ago +9012

    next video: AI learns to dislike youtube rewind 2018

    • @CarthagoMike
      @CarthagoMike 6 years ago +310

      only 2 generations needed for that.
      Cause the first one is too stupid, like those who liked rewind.

    • @Panservogn
      @Panservogn 6 years ago +11

      Hah

    • @hequek2659
      @hequek2659 6 years ago +22

      Dislike bots

    • @PhDofBonology
      @PhDofBonology 6 years ago +4

      PLEASE

    • @brokeangryjerry9605
      @brokeangryjerry9605 6 years ago +88

      yall need to stop disliking youtube rewind 2018.
      *we need to save some dislike for rewind 2019*

  • @EPICRAGE1000
    @EPICRAGE1000 5 years ago +3456

    This guy takes a nap at 2-5pm and goes to sleep by 9pm... he spends 70% of his day sleeping

  • @wave4125
    @wave4125 5 years ago +4094

    "I teach an ai to play flappy Bird"
    **Completely remakes the game**

    • @PacMan755
      @PacMan755 5 years ago +39

      cause why not amm i rite

    • @pg7166
      @pg7166 5 years ago +139

      Cause the owner of the game removed it from all stores and committed suicide

    • @wally4087
      @wally4087 5 years ago +16

      @@pg7166 you can just download the APK

    • @PacMan755
      @PacMan755 5 years ago +42

      @@pg7166 what a pussy

    • @azrael_pendragon
      @azrael_pendragon 5 years ago +23

      I had the original version when it came out . I feel special

  • @adrenalina7-7
    @adrenalina7-7 4 years ago +63

    Generation 1: dies
    Generation 6: let me show you how its done.

  • @dinardinar2657
    @dinardinar2657 5 years ago +628

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

    • @HexicSnake
      @HexicSnake 5 years ago +11

      Dinar Dinar he does it often

    • @TomB09
      @TomB09 5 years ago +14

      He would have to study the code of the game, which takes longer than writing it himself in this case

    • @Sonu-hx9wx
      @Sonu-hx9wx 5 years ago

      I made it 59

    • @LyricLaude
      @LyricLaude 5 years ago

      In a day

    • @slojcabronas858
      @slojcabronas858 4 years ago +1

      It's a lot easier if you have a source code (or make one) so that you have easy access to all variables and inputs

  • @afuzzylemon2521
    @afuzzylemon2521 5 years ago +1299

    Did anyone else think it looked like the game was being rewinded when he was speeding it up

    • @drsatheeshkrishna
      @drsatheeshkrishna 5 years ago +26

      Nyquist principle

    • @locococo8961
      @locococo8961 5 years ago

      @@drsatheeshkrishna ?

    • @drsatheeshkrishna
      @drsatheeshkrishna 5 years ago +64

      @@locococo8961 Google it. As sampling rate becomes let's than half of the frequency, the direction can appear changed. The reason why fast propellers of aeroplanes or fast spinning wheels can appear to move in the opposite direction

    • @hiimarobot1903
      @hiimarobot1903 5 years ago +3

      @@locococo8961 remember hand spinner , and levitating water

    • @afuzzylemon2521
      @afuzzylemon2521 5 years ago +1

      Woah my comment got so many likes

  • @gavinpoperechny1610
    @gavinpoperechny1610 6 years ago +515

    AI Learns “Getting Over it with Bennett Foddy” that would be so fun to watch!

    • @thefirekonaai8919
      @thefirekonaai8919 6 years ago +46

      Wouldn't he have to make the whole game then? it's a long game

    • @thefirekonaai8919
      @thefirekonaai8919 6 years ago +8

      @Looter dude He doesn't use Unity to code his A.I. so he wouldn't be familiar with the code language

    • @subscribetopewdiepiedaily5768
      @subscribetopewdiepiedaily5768 6 years ago +2

      Yes.

    • @benrosen5917
      @benrosen5917 6 years ago +11

      He probably couldn't recreate it. He doesn't use the real game, remember.

    • @wildgoosechase4642
      @wildgoosechase4642 6 years ago +9

      Yes, that would be fun to watch
      Yes, he could use the original game but it would be near-impossible to get working unless it was open-source, and even then, he would have to navigate and work with a large amount of code he didn't write.
      There is no such thing as "Unity Code", the program Unity allows the user to write scripts with several languages and it is even possible that CB wouldn't need Unity installed to work with the game.

  • @PiPiSquared
    @PiPiSquared 3 years ago +27

    "I did have a nap in the middle of drawing", that was relatable

  • @user-eh7rz1vf2u
    @user-eh7rz1vf2u 6 years ago +505

    It went so fast it looked like the pipes went backwards

    • @LP-ir3op
      @LP-ir3op 6 years ago +12

      Funny thing is that I think that's actually the way they go.

    • @bllllllllackbirdie
      @bllllllllackbirdie 6 years ago

      @@LP-ir3op my brain, wtf.

    • @bazinga479
      @bazinga479 6 years ago +1

      @@LP-ir3op It Isn't, It's just a illusion...

    • @svenfransen4605
      @svenfransen4605 6 years ago

      You would be okay saying the bird looked like flying backwards... the pipes don't move at all the bird does.

    • @creatureofhabit7049
      @creatureofhabit7049 6 years ago

      @@svenfransen4605 you have never coded a game right?

  • @PhoenixCNSTL
    @PhoenixCNSTL 5 years ago +2780

    50 years later:
    AI learns how to kill a human

    • @MimOzanTamamogullar
      @MimOzanTamamogullar 5 years ago +30

      ruclips.net/video/fURH8z3hb6Y/video.html
      Are you living under a rock?

    • @xdtrollers5525
      @xdtrollers5525 5 years ago

      @@MimOzanTamamogullar s

    • @xdtrollers5525
      @xdtrollers5525 5 years ago

      Yee

    • @deadpirateroberts9937
      @deadpirateroberts9937 5 years ago +11

      Phoenixster YT u can make it learn to kill a human rn its just that people dont want to make an ai like that

    • @jamietomalin3815
      @jamietomalin3815 5 years ago

      What would be the point in ai killing us we would be more useful to then Alive.

  • @brandonwyffels8002
    @brandonwyffels8002 6 years ago +688

    Next video: AI learns how to hit the snooze button

    • @adeshpoz1167
      @adeshpoz1167 6 years ago +2

      Evan=destroyed. 😂

    • @Lukas99g
      @Lukas99g 6 years ago

      11 minute snooze is finally defeated.

    • @orbital1971
      @orbital1971 5 years ago

      @@Lukas99g scp foundation:stay where you are

    • @zebr0
      @zebr0 5 years ago

      AI learns how to AI

  • @goldenbananit3052
    @goldenbananit3052 4 years ago +31

    4:32 can we all just appreciate how it looks like the birds are jamming to the background music

  • @NickZGames
    @NickZGames 5 years ago +1120

    AI: What is my purpose?
    Evan: You control a bird who twerks to fly and bypass copyrighted pipes.
    AI: Oh, God.
    Evan: Yeah, welcome to the world pal.

    • @abhishek_soni1
      @abhishek_soni1 4 years ago +11

      Rick and Morty reference.

    • @grounds_up3780
      @grounds_up3780 4 years ago +4

      Nick Z Games well the creator killed himself so he’s not gonna sue him...

    • @fredthespear4923
      @fredthespear4923 4 years ago +2

      Grounds_ Up oh.....

    • @markassbrownie2357
      @markassbrownie2357 4 years ago +6

      @@grounds_up3780 bullshit he's very much alive and well .

    • @liber2350
      @liber2350 4 years ago

      Nick Z Games I’m pretty sure that’s a cheeseburger with wings

  • @TrimutiusToo
    @TrimutiusToo 6 years ago +711

    The question of the day... WIll the grandma overclock her rig???

    • @v1mz
      @v1mz 6 years ago +12

      Timur Sultanov of course, all she needs now is a gtx 2080

    • @bohmel
      @bohmel 6 years ago +6

      Nah gonna need that RTX Titan

    • @Echozkii
      @Echozkii 6 years ago +4

      I’m just gonna watch her not know which is better she is going to get a gtx 950 or something

    • @thelegendaryck
      @thelegendaryck 6 years ago +2

      I bet she will crack records with her rig

    • @user2C47
      @user2C47 6 years ago +4

      Probably not. Most old people barely know how to use a computer.

  • @pixel4712
    @pixel4712 6 years ago +265

    1:50 i feel uncomfortable with tweaking being changed to twerking

    • @shukaku8772
      @shukaku8772 6 years ago +4

      Ikr

    • @sosogo4real
      @sosogo4real 6 years ago +13

      @@isaacmcclure t h i c c n e s s

    • @TheGauges420
      @TheGauges420 6 years ago +4

      He has a lot of different little spelling errors like that lmfao. I think he does them all on purpose.

  • @kallevonderimbissbude3289

    4:41 I need actualy two minutes to pause here and read the little Story full of Love

    • @arcticlegend8159
      @arcticlegend8159 3 years ago

      also it says "I HOPE YOUR CHILDREN DIE BEFORE THEY CAN SPREAD YOUR USELESS GENES" then their children have perfect genes

    • @hopecore420
      @hopecore420 10 months ago

      Such love and care🥰

  • @soynutsandkale5286
    @soynutsandkale5286 5 years ago +5628

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

  • @Fefonfon
    @Fefonfon 6 years ago +229

    1:57 " *twerking* jump mechanics"
    hmmm...

  • @vyable
    @vyable 6 years ago +315

    the bird was a paid actor.

    • @vyable
      @vyable 6 years ago

      Herleik Holtan ^

    • @adamxue6096
      @adamxue6096 6 years ago +2

      No the pipes were clearly the paid actors.
      The bird ain't got nothing.

    • @cheeselord8153
      @cheeselord8153 6 years ago

      Herleik Holtan he means this isn't very educational I think

    • @cheeselord8153
      @cheeselord8153 6 years ago

      Herleik Holtan yeah I'm just good at that sort of thing

    • @vyable
      @vyable 6 years ago

      Herleik Holtan chill jesus

  • @nicholascharest8191
    @nicholascharest8191 4 years ago +21

    I love how we're all watching this as if there's some extra content we missed when we didn't get the same high score the AI is getting.

  • @rowniz5001
    @rowniz5001 6 years ago +505

    If(bird touches wall){
    Sout(dont touch)
    }

    • @DeathMetalSon
      @DeathMetalSon 6 years ago +28

      He used CODING and ALGORITHMS to make them not hit the wall

    • @rowniz5001
      @rowniz5001 6 years ago +78

      sarcasm
      /ˈsɑːkaz(ə)m/
      noun
      the use of irony to mock or convey contempt.

    • @online_cat
      @online_cat 6 years ago +79

      @@DeathMetalSon if (bird about to touch wall){
      (Dont)
      }

    • @thatoneguy9582
      @thatoneguy9582 6 years ago +1

      Animation Hub
      yeah that works

    • @MegaKillMeister
      @MegaKillMeister 6 years ago

      @@rowniz5001 r/woooosh

  • @user-jz6ui8hk7e
    @user-jz6ui8hk7e 6 years ago +1554

    *AI learns to fix my parents’ marriage*

  • @rdw7505
    @rdw7505 5 years ago +1030

    Oh this is pretty cool,
    It keeps going forward
    5:28
    *OH GOD ITS GOING BACKWARDS*

    • @chocopuff
      @chocopuff 5 years ago +56

      i searched for this comment 😂

    • @pong5592
      @pong5592 5 years ago +5

      @@chocopuff yep

    • @BreadstixTheAnimator
      @BreadstixTheAnimator 5 years ago +10

      Slow it down to 0.25 and its impossible flappy bird

    • @sixaj
      @sixaj 5 years ago +1

      @@chocopuff I also LITERLY searched for that comment to see if I was the only one

    • @stevethea5250
      @stevethea5250 5 years ago

      @@pong5592 too fast

  • @acez28
    @acez28 3 years ago +47

    Funny fact
    I'm watching this 2 hours to Christmas 2 years later

  • @HipProGamer
    @HipProGamer 5 years ago +1140

    Is it just me or when the bird is going ultra mega fast it looks like he is going backwards

  • @p.c.2438
    @p.c.2438 6 years ago +246

    Just waiting for the first AI rage quitting of history
    EDIT: Nevermind, the AI whooped it. Praise the AI

    • @unitrader403
      @unitrader403 6 years ago +19

      well, there was once a tetris ai which 1 frame before game over did the only move left which prevented it from losing.. pause the game forever :D guess thats close enough

    • @ganaraminukshuk0
      @ganaraminukshuk0 6 years ago +1

      @@unitrader403 The only winning move is to not play the game; also, are you referencing Suckerpinch?

    • @kevinrdunnphs
      @kevinrdunnphs 6 years ago +1

      The AI only had one synapse, all it did was flap if it was below or at the level of the bottom pipe, the whole AI could just be one looped if statement

  • @equilton
    @equilton 6 years ago +1785

    5:30 I can't be the only one seeing it go backwards
    Edit: now I can see it both ways...

  • @flowerisokay28
    @flowerisokay28 3 years ago +20

    5:58 truly a masterpiece, made me cry

  • @timo5628
    @timo5628 5 years ago +951

    4:41 Did I really spend like 2 minutes to Pause to read this damn text?

    • @toasty7408
      @toasty7408 5 years ago +47

      Timmi Germi if you spent two minutes reading that you are a damn idiot

    • @flamingrubys11
      @flamingrubys11 5 years ago +133

      @@toasty7408 he mant 2 minutes trying to get the frame

    • @grantdalenberg1997
      @grantdalenberg1997 5 years ago +47

      or you can just use the "" keys to move forwards or backwards a frame at a time

    • @toasty7408
      @toasty7408 5 years ago +6

      Grant Dalenberg or click on one of the links that people put in the comments lol

    • @thomasfplm
      @thomasfplm 5 years ago +34

      @@grantdalenberg1997, not on the phone.

  • @Pedakin
    @Pedakin 6 years ago +1657

    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.

    • @alsdros1183
      @alsdros1183 6 years ago +118

      @Johnithinuioian chill

    • @alsdros1183
      @alsdros1183 6 years ago +12

      @Johnithinuioian just cause xD

    • @denomoable
      @denomoable 6 years ago +142

      Johnithinuioian who tf says “got it” thats why he said chill

    • @YenpisW
      @YenpisW 6 years ago +30

      @@miguelturtlekickz4353 god damn. Screw Einstein, you are superior with your sheer knowledge.

    • @rwubaa222
      @rwubaa222 6 years ago +3

      @Johnithinuioian first u need to chill
      And yeah that's not that much of an impressive programming but the video overall is really good

  • @madarauchiha1174
    @madarauchiha1174 5 years ago +1147

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

    • @simonscherer2821
      @simonscherer2821 5 years ago +39

      Like wheels of the car on the highway😄

    • @DavePelle
      @DavePelle 5 years ago +7

      Aliasing problem

    • @benchervek5629
      @benchervek5629 5 years ago +13

      Its called the Qamuachi effect bruh

    • @coochiemeowmeow2210
      @coochiemeowmeow2210 5 years ago +8

      Madara uchiha yeah cuz there’s no reference point in the background, it’s only a still picture, if there was a tree he passed every now and then we could tell

    • @kirbgaming8192
      @kirbgaming8192 5 years ago +10

      Then when it goes faster the everything goes forward
      *visible confusion*

  • @straycursor5562
    @straycursor5562 3 years ago +23

    "Oh no Evan, the pipe is too short"
    "You ready for this."
    "BOOM! pipe for days boy!"

  • @elburd
    @elburd 5 years ago +1892

    *coding is God language*

  • @4coolkidz91
    @4coolkidz91 5 years ago +1237

    This is basically like naruto using clones to learn Rasenshuriken

    • @stevethea5250
      @stevethea5250 5 years ago +9

      Or get another plumber. My plumber took one look at my leak and immediately said, "This will be hard to find. I'll call a leak detection guy."

    • @kendrakrust1244
      @kendrakrust1244 5 years ago +25

      @@machranCALINTZ no u

    • @tusiekcat
      @tusiekcat 5 years ago +1

      Yeah

    • @user-xs4me2wg4c
      @user-xs4me2wg4c 5 years ago +3

      @@machranCALINTZ r/youngpeopleyoutube

    • @kendrakrust1244
      @kendrakrust1244 5 years ago +3

      @@user-xs4me2wg4c r/rareinsults

  • @Cynadite
    @Cynadite 6 years ago +313

    A.I. learns geometry dash.

  • @SevenIsaCannibal7
    @SevenIsaCannibal7 4 years ago +9

    Alright so what I think impressed me the most is how the flapping is in sync with the music for good portion of the song. That’s nuts

  • @PlayPerfecto
    @PlayPerfecto 6 years ago +129

    A few lines of code.
    *Writes essay*

    • @justas423
      @justas423 6 years ago +8

      That how code works sometimes. And by sometimes I mean always.

  • @monsterkingrpk
    @monsterkingrpk 4 years ago +698

    6:10 how the hell do you break it this bad by adding a hat to the bird

    • @alsofrog3863
      @alsofrog3863 4 years ago +9

      ikr

    • @mranxiety9995
      @mranxiety9995 4 years ago +86

      Burb and hat do not go well. Have you seen Garfunkel

    • @mranxiety9995
      @mranxiety9995 4 years ago +98

      I dont remember writing this and i am very scared. Who is Garfunkel? What is a Garfunkel.

    • @Flibberdijibbet
      @Flibberdijibbet 4 years ago +53

      @@mranxiety9995 Garfunkel is Garfunkel. He owned your soul at the time.

    • @mranxiety9995
      @mranxiety9995 4 years ago +31

      @@Flibberdijibbet That explains it

  • @petfama4211
    @petfama4211 6 years ago +343

    Do Tetris!

  • @nicholasleclerc1583
    @nicholasleclerc1583 4 years ago +17

    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;
    There should be an algorithm that “randomly” chooses the following pipes to put, as well as the different speed at which the screen moves (so all in all how much curve balls are going to be thrown at the machine-learning algorithm), according to the objective & narrow criteria of how many possible paths, between the pipe that’s just been crossed and the one right after it, can the bird take; or rather it should calculate for how many times/way can the bird mess up between those 2 pipes and still be physically able to pass through those pipes

  • @HickoryStickGod
    @HickoryStickGod 6 years ago +1703

    Next Video Idea:
    Teaching AI how to get through "prove you're not a robot" popups
    Edit: Woah, when did I get all of these likes!😂

    • @ImMaleKx
      @ImMaleKx 6 years ago +79

      i think its impossible because a human being cant get it 100% even that he answered right

    • @shadowreaper4970
      @shadowreaper4970 6 years ago +15

      Hickory Stick God there is a machine do that lol

    • @thepope2412
      @thepope2412 6 years ago +11

      iMaleKz pretty sure there’s a chrome extension that answers those

    • @ImMaleKx
      @ImMaleKx 6 years ago +2

      @@thepope2412 then what's it name? i need it

    • @ShadowFox10587O
      @ShadowFox10587O 6 years ago

      iMaleKz yeah I need it too it's annoying having to do those all the time

  • @PatoHeroe
    @PatoHeroe 4 years ago +783

    He: I'm gonna sleep to enjoy my 12 hours for beauty sleep.
    Me: *awake at 4a.m*

  • @VeryEpicPotato
    @VeryEpicPotato 6 years ago +321

    Next up: AI learns to code

    • @Echozkii
      @Echozkii 6 years ago

      I wonder how long that would take to make tbh

    • @catlover1781
      @catlover1781 6 years ago +2

      👌

    • @rb1471
      @rb1471 6 years ago

      They have models which can generate code which looks entirely real and is syntactically correct, but the problem is that when you go line by line it doesn't really make much sense. We need a method which can create code and make sense of it at the same time.

    • @user2C47
      @user2C47 6 years ago +1

      Next up: AI learns to conquer the world and force humans to become cyborgs to have increased mental capacity.

    • @autumnleaf5050
      @autumnleaf5050 6 years ago

      It will destroy us lol

  • @TheMarshmallowMushroom
    @TheMarshmallowMushroom 3 years ago +2

    the crummy Santa hat animation (starting at 6:22) gives me life

  • @franciasii2435
    @franciasii2435 6 years ago +292

    AI plays Kerbal Space Program. You better clear out your calendar because that will be one hell of a feat.

  • @therealcoachpotato105
    @therealcoachpotato105 4 years ago +268

    Him: does in day
    Also him: still takes 3 months to make

  • @wasOnceBigJ
    @wasOnceBigJ 6 years ago +899

    5:30 it goes backwards in the human eye

    • @groinBlaster31
      @groinBlaster31 5 years ago +17

      Look up aliasing

    • @alexknudsen9187
      @alexknudsen9187 5 years ago +14

      Welp guess im not a human.....

    • @kappaspammerderzweite5884
      @kappaspammerderzweite5884 5 years ago +66

      no it actually goes backwards lul, set speed to 0.25 and it will still go backwards

    • @groinBlaster31
      @groinBlaster31 5 years ago +6

      @@kappaspammerderzweite5884 look up aliasing. At the recorded speed it looks like it's going backwards.

    • @kappaspammerderzweite5884
      @kappaspammerderzweite5884 5 years ago +54

      @@groinBlaster31 i know what aliasing is. i just wanted to point out that this is not the human eyes fault in this case, but rather the recording :D

  • @Twingamerdudes
    @Twingamerdudes 2 years ago +1

    5:31 It’s so fast to the point where it looks like the birds are going backwards and saying nope, fuck this.

  • @KunalSharma-so6jv
    @KunalSharma-so6jv 5 years ago +2448

    Im a computer science engineering student and the amount of Inferiority Complexions I get from this channel is almost suicidal 😂😂

    • @TheJamieKeely
      @TheJamieKeely 5 years ago +6

      kunal Sharma Like what?

    • @KunalSharma-so6jv
      @KunalSharma-so6jv 5 years ago +67

      Emily Norris Lol! What what?
      The joke ain't that hard to understand!

    • @KieranHolroyd
      @KieranHolroyd 5 years ago +273

      @Reunite The British Empire He said he's a student, chill.

    • @sanjixfarron7447
      @sanjixfarron7447 5 years ago +38

      Haha I'm also a computer science student and I dont understand anything- _I mean I'm not learning codes properly yet bUT dhrjfj_

    • @triplechocolate
      @triplechocolate 5 years ago +23

      Reunite The British Empire weird flex but ok 👌🏼

  • @blackberry_871
    @blackberry_871 6 years ago +113

    Next one :
    AI learns how to subscribe to Pewdiepie

    • @akdroa1502
      @akdroa1502 6 years ago +5

      Blackberry_ t series already figured that one out

    • @kkodama1858
      @kkodama1858 6 years ago

      Dakota Andromeda Tseries doesn’t know how to sub to pewdiepie

    • @akdroa1502
      @akdroa1502 6 years ago

      WitheredScythe no, it was a joke about t series using sub bots, but I understand where the misunderstanding could come from lol

    • @regulardudedoingregularstu1046
      @regulardudedoingregularstu1046 6 years ago

      @@akdroa1502 he is trying to burn you, not understanding the underlying sarcasm in your statement. Sycke, dakota is an ally of our 9yr old army

    • @akdroa1502
      @akdroa1502 6 years ago

      Regular Dude Doing Regular Stuffs I cannot help but notice that you have best boi astolfo as your pfp. A fellow person of culture, I see

  • @FinnKid1
    @FinnKid1 5 years ago +876

    3.8 million years of human evolution and this bird evolves to be god in 6 generations

    • @noitnettaattention
      @noitnettaattention 5 years ago +3

      That means your "almighty" theory of evolution is bunch of sick crap !!!

    • @birchbuzzbee3984
      @birchbuzzbee3984 5 years ago +29

      noitnettaattention no, it just shows how fucking simple this game is

    • @rubixsentinel9
      @rubixsentinel9 5 years ago +6

      @@noitnettaattention Maybe you'd like to go and research a theory better than the current human evolution theory.. We'll wait..

    • @noitnettaattention
      @noitnettaattention 5 years ago

      @@rubixsentinel9 ??? Huh ?

    • @dinh6327
      @dinh6327 5 years ago +4

      Rubix Sentinel God is our creator but instead of it being a theory it’s true

  • @rikorahman6962
    @rikorahman6962 4 years ago +8

    Plot twist: The flappy bird is actually playing the music by hitting the bars

  • @squeakystool8910
    @squeakystool8910 5 years ago +1671

    5:36 *are we sure there not going backwards? Cause I’m freakin trippin*

  • @whoopdee-doo6393
    @whoopdee-doo6393 6 years ago +217

    How to do this easy.
    1. Avoid that green shit.
    2. GOOOO

  • @sspr1nt
    @sspr1nt 5 years ago +561

    The “FASTER” part was like an anime battle.

  • @thatchicken4048
    @thatchicken4048 2 years ago +1

    Plot twist he didn't make a A.I he is just godlike at flappy birb

  • @akaTandy
    @akaTandy 4 years ago +337

    Hey a really easy one to code: A.I. learns to play Dark Souls.
    PLeAsE liKE sO hE cAN sEe

    • @johngerken4263
      @johngerken4263 4 years ago +7

      You do realize that that would require him to recreate Dark Souls, right?

    • @qk7x
      @qk7x 4 years ago +12

      @@johngerken4263 hmmmm, maybe, no, it couldn't be, maybe, uhh, JOKE.

    • @johngerken4263
      @johngerken4263 4 years ago +1

      I know

    • @itzgamer21
      @itzgamer21 4 years ago +1

      GUYS FADED MEANS LIKE THE VIDEO NOT LE COMMENT

    • @monke3387
      @monke3387 4 years ago

      OmG 300+ LiKeS sO epIc!!1!1!1¡1!1!!!!1

  • @itshaxerboi5611
    @itshaxerboi5611 5 years ago +722

    God: *Presses upgrade button on humanity*
    Humanity: *Teaches an AI to play flappy bird*
    God: ahhh, its rewind time

    • @stevea7048
      @stevea7048 5 years ago +9

      Itshaxerboi that’s hot

    • @omarhuda4997
      @omarhuda4997 5 years ago +2

      @@stevea7048 mark ass brownie

    • @DuraluminBurner
      @DuraluminBurner 5 years ago +3

      FuCk Go BaCk

    • @JonesCrimson
      @JonesCrimson 5 years ago +3

      Honestly, if there is a god and he gives a single fuck about us, he's probably doing his best to start an apocalypse but the soviets backed down in the gulf and the global warming thing is getting a little backlash.
      It was a simpler time when he could just flood everything, but now we're so advanced it wouldn't kill enough of us.
      If there is a god and he gives a single fuck about us, let him know we will not go quietly into the night.

    • @JonesCrimson
      @JonesCrimson 5 years ago

      @Your daily RUclips lol wrong video leave

  • @creechmills8426
    @creechmills8426 5 years ago +78

    Just make the bird speed up slightly for every pipe it passes, and all of a sudden you make it hella hard

  • @virginialao5132
    @virginialao5132 3 years ago +2

    Birds: I do be vib’in towards the music

  • @hafezeshirazi1940
    @hafezeshirazi1940 6 years ago +366

    0:32 he's subscribed to pewdiepie, looooool

    • @jiksuarc
      @jiksuarc 6 years ago +37

      Absolute mad lad

    • @Random-bw2km
      @Random-bw2km 6 years ago +1

      And blitz

    • @braytonc6574
      @braytonc6574 6 years ago +117

      And you should be too, and anyone reading this comment should be subbed to Pewdiepie

    • @cdw2468
      @cdw2468 6 years ago +59

      DOING HIS PART

    • @yember
      @yember 6 years ago +36

      A fellow 14 year old

  • @dancagurli
    @dancagurli 5 years ago +795

    I don’t know why RUclips recommended this, but here we are

  • @ignatius7124
    @ignatius7124 5 years ago +858

    "Twerking jumping mechanics" " changing pipe thiccness" -_-

  • @GrayM2
    @GrayM2 2 years ago +2

    Next video:ai learn to dominate the world

  • @foxrine
    @foxrine 5 years ago +386

    5:31 seems like everything is going backward except the score

    • @ratioripbozo
      @ratioripbozo 5 years ago

      Jep

    • @nerd5862
      @nerd5862 5 years ago +4

      It is and later on it goes for word slow the video down

    • @rep_benjamin64
      @rep_benjamin64 4 years ago

      Foxrine even the human population is going backward due to the ai.

    • @ThatUnknownDude_
      @ThatUnknownDude_ 4 years ago +2

      Your flappy bird doesn’t go forward mate
      The pipes come towards your bird and u go up or down

    • @jasonreed7522
      @jasonreed7522 4 years ago +3

      All hail the demon known as aliasing
      Basically when things are sampled at a finite rate ( fps ) error occurs if data signals (gameplay/what the game is trying to show) exceed twice the sample rate and when the data is slightly faster it aliases to negative frequency. (Goes backwards)

  • @BL-xz3ym
    @BL-xz3ym 5 years ago +244

    1:56 “twerking the jumping mechanics”

  • @raz0229
    @raz0229 5 years ago +221

    Me playing some hard games: _Finally succeed at 1000th try!_
    AI playing some hard games: _Brought in 1000 players and succeed at first try!_ (Pretty Genius)

    • @pinecrustjuise
      @pinecrustjuise 5 years ago +5

      By definition of genetic programming; you aren't ever going to get success on the first try.

    • @pheonix3862
      @pheonix3862 5 years ago +1

      But all a ai like this does is try and fail then learn like a human. It just does it faster

  • @TheRealJochen
    @TheRealJochen 4 years ago +7

    2:50
    Minecraft RUclipsr: So I did some building off screen.
    The building:

  • @scene6289
    @scene6289 6 years ago +230

    Wtf how did adding the Christmas hats break the game😂😂😂

    • @Volsraphel
      @Volsraphel 6 years ago +29

      It can't, it's literally changing an image file. You don't need to change the code at all to do that. Surely...

    • @Ben-li9zb
      @Ben-li9zb 6 years ago +19

      where theres a will theres a way.

    • @christophermoore6110
      @christophermoore6110 6 years ago

      IDK :p just like iFunny

    • @MichaelIZKOOL
      @MichaelIZKOOL 6 years ago +20

      It might have to do with the bird's increased hitbox

    • @redrosegaming5291
      @redrosegaming5291 6 years ago

      @@MichaelIZKOOL good guess..

  • @feynstein1004
    @feynstein1004 6 years ago +333

    AI learns to play Stronghold Crusader :P

    • @anonymousstout4759
      @anonymousstout4759 6 years ago

      Feynstein 100 this is cool

    • @rasput1n6
      @rasput1n6 6 years ago +1

      love that game

    • @kokutu2139
      @kokutu2139 6 years ago +2

      Game of my life

    • @celestailshock4693
      @celestailshock4693 6 years ago +2

      Feynstein 100 AI learns to play league of legends and flexs on the players

    • @zainekatsumi
      @zainekatsumi 6 years ago +1

      Hahaha dude. Ang he gets to build all the designs of the base om wolf😂. And the stupid base of snake

  • @raimbowdash360
    @raimbowdash360 5 years ago +769

    A.i learns to play plague inc?

    • @Rafa-cm9no
      @Rafa-cm9no 5 years ago +76

      Oh no

    • @-Agent_47_
      @-Agent_47_ 5 years ago +141

      Watch out Greenland
      We are coming for you

    • @delirium1643
      @delirium1643 5 years ago +35

      That's probably gonna be hard

    • @csharpcoffee
      @csharpcoffee 5 years ago +33

      Don't teach ai to kill humans, if you do humanity is gone... 😮

    • @ifinnishboy4126
      @ifinnishboy4126 5 years ago +9

      Gen 100000000000000000000000000000000000000000000000

  • @prismgod1904
    @prismgod1904 2 years ago +1

    code bullet : can't make special 500k subs video
    also code bullet : this video

  • @jaichand8947
    @jaichand8947 5 years ago +30

    Plot twist:
    Code bullet is a god at flappy bird and recorded himself playing

  • @absence9443
    @absence9443 6 years ago +458

    Geometry Dash pls

    • @salmonslay
      @salmonslay 6 years ago +7

      Too complex

    • @absence9443
      @absence9443 6 years ago +30

      @@salmonslay Dude he could just start with the first mechanics: Jumping. And then adding some platforms and spikes. It wouldn't be so hard to create these levels buf fun to watch. When the AI gets better and better he could make super hard levels for the AI to beat

    • @tenshikuruu
      @tenshikuruu 6 years ago +6

      Omggg yesss

    • @PhrostiX
      @PhrostiX 6 years ago +4

      Rescz Gélic oh god. Do not create a bot. People will copy it and just hack.

    • @AaronBacon_
      @AaronBacon_ 6 years ago +6

      @@PhrostiX Not really how it works, as you can see in the video, he created the flappy bird environment from scratch, so the AI is part of the Code and can just lookup "hey, whats the X and Y Position of the Pipe" To use it in someone else's game that you can't access the code for would be far more difficult, since it would need a way to identify obstacles, the player, and any controls the player would normally have to press. Basically just because he can make an AI for an exact recreation of a game, doesn't mean the AI can do anything in the real game.

  • @挑戰不再拍影片就有5k

    *I bet you can't make AI defeat Thanos*
    *prove me wrong*

    • @aodtonix
      @aodtonix 6 years ago +6

      No Ketchup. Just Sauce. Did you forget Vision?

    • @z_zenith
      @z_zenith 6 years ago +13

      All you need to do is tell it to aim for the head

    • @lukehenry9682
      @lukehenry9682 6 years ago +3

      Oh Snap!

    • @dashckand
      @dashckand 6 years ago +4

      @@aodtonix AI will try 14 million outcomes

    • @kujojotaro2461
      @kujojotaro2461 6 years ago

      @That one guy you wish you were I laughed my ass so hard it went to space.

  • @marshy_vr9287
    @marshy_vr9287 2 years ago +3

    CB: gives birds hats
    Game: “THE BIRDS HAVE HATS, ACTIVATE IMPOSSIBLE PTSD MODE”
    CB: “I tried to make it Christmasy but it all broke 😕“
    Game: “Well done boys we did it we beat the birds with hats”

  • @drmeduimant5066
    @drmeduimant5066 6 years ago +132

    Rumors says you’re the creator the flappy bird

  • @Dante20321
    @Dante20321 5 years ago +465

    No one:
    2019 RUclips Recommended: Y’all wanna see an AI play Flappybird?

    • @Ben-fx8lg
      @Ben-fx8lg 5 years ago +8

      This comment sucks and i cant wait for people to stop saying it.. Its so played out already!

    • @Dante20321
      @Dante20321 5 years ago +6

      Ben Westrick then you can wait a long time

    • @Ben-fx8lg
      @Ben-fx8lg 5 years ago +5

      @@Dante20321 Its not even funny.. And at this point, grossly unoriginal to use it.... You should be ashamed of yourself. What will your grandkids think of their lame grandfather?

    • @Dante20321
      @Dante20321 5 years ago +1

      WOJOxDOJO / Vainglory 😂

    • @joepastafari
      @joepastafari 5 years ago

      both of you guys are dickheads

  • @ziggy8253
    @ziggy8253 5 years ago +113

    “Pipe for days, boi.” 2:42

  • @danielmartin9057
    @danielmartin9057 3 years ago +15

    1:55 am I the only one who caught “twerking” instead of “tweaking”

    • @misguidedsaint3693
      @misguidedsaint3693 3 years ago +3

      Pretty sure it was intentional, but yeah I noticed the first time I saw this

  •  5 years ago +2194

    *next video*Ai learned to subscribe to pewdiepie

  • @alejandrohb5813
    @alejandrohb5813 4 years ago +839

    So this dude just made a game in 1 day while the creators of flappy bird probably took more than that ? *impressive*.

    • @Blaizer077
      @Blaizer077 4 years ago +336

      Alejandro HB Well, what he did was impressive! but remember that his main job was to copy a game that was already finished. So, the original creator had to think of game mechanics, make the art, etc. Him making it in a day is very impressive, but I wouldn’t compare it to the original designer of the game

    • @CarlosLauterbach
      @CarlosLauterbach 4 years ago +51

      Tbh u dont need to program that much for that game. Just a hitbox and some rng with falling mechanic.
      If u understand a littlebit of coding: if(bird.xpos = tube.xposmin){ //if the bird is in the range of the tubes in the x-scale. Ask if he hits tube://
      If(bird.ypos >= tube.ypostop || tube.yposbot){
      bird.die();
      }
      }
      Meanwhile you just add the same number over and over to birds x-position so it flies to the right or make everything go to the left. Last thing is like while the game is running you add the falling speed to the birds y-position and reduce the falling speed and repeat it. By adding a negative number which decreases the birds falling. By tipping you set the falling spped to a positive number so the bird goes up.

    • @hanamae600
      @hanamae600 4 years ago +31

      Tanzis Liebling002 yeah but writers block is a bitch

    • @hotcoder6154
      @hotcoder6154 4 years ago +34

      Easier to implement an already well-defined concept than design a game from zero. Also, he knows his game programming so the game coding is probably only a couple of hours. The physics to approximate gravity is straightforward math. Collision detection here is simple. Keyboard press capture is also standard. He probably spent more time on the graphics!

    • @thesabre8458
      @thesabre8458 4 years ago +2

      Tanzis Liebling002 if in java you can create square objects and use intersect

  • @shizu5082
    @shizu5082 5 years ago +41

    Code bullet: *gets one day to make a flappy bird ai*
    Also Code Bullet: *does it in 7 minutes*

  • @hongyichen0611
    @hongyichen0611 Year ago +1

    Great job! Merry Christmas!