A.I. Learns to play Flappy Bird

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 12 тыс.

  • @petermarsella6537
    @petermarsella6537 5 лет назад +2366

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

    • @SpiralSniperz
      @SpiralSniperz 5 лет назад +5

      Peter Marsella CB?

    • @lategamer6684
      @lategamer6684 4 года назад +14

      byVawx code bullet

    • @kevinkoolking
      @kevinkoolking 4 года назад

      Weeeeee

    • @wyx7515
      @wyx7515 4 года назад

      o h m y g o d a n a x o l o t l i s e e y o u a r e a m a n o f c u l t u r e

  • @muffinymuffin123
    @muffinymuffin123 5 лет назад +12401

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

    • @raynmanshorts9275
      @raynmanshorts9275 5 лет назад +717

      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 лет назад +792

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

    • @MegaFooby
      @MegaFooby 5 лет назад +611

      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 лет назад +110

      Cameron Davies
      y-yeahh...

    • @ZombieLicorice
      @ZombieLicorice 5 лет назад +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.

  • @reddblurr
    @reddblurr 5 лет назад +7994

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

    • @AtlasFox_
      @AtlasFox_ 5 лет назад +211

      Welcome to the club pal.

    • @dinh6327
      @dinh6327 5 лет назад +161

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

    • @hassanila
      @hassanila 5 лет назад +17

      Oh God pls no. No, noooooooooah

    • @cheesecakelasagna
      @cheesecakelasagna 5 лет назад +77

      You pass the butter.

    • @chiicolate7056
      @chiicolate7056 5 лет назад +49

      RICK AND MORTY REFERENCE!!!

  • @meganbarhorst5272
    @meganbarhorst5272 3 года назад +2026

    "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 года назад +11

      Should i take a shit

    • @pinecloudYT
      @pinecloudYT 3 года назад +28

      @@TheNamePi no

    • @acastusofastora8641
      @acastusofastora8641 3 года назад +30

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

    • @wxbrainiac
      @wxbrainiac 3 года назад +5

      @@TheNamePi you better not have

    • @TheNamePi
      @TheNamePi 3 года назад +12

      I took a shit

  • @jammerbf4694
    @jammerbf4694 5 лет назад +10908

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

    • @petelee2477
      @petelee2477 4 года назад +1287

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

    • @joeri5678
      @joeri5678 4 года назад +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 года назад +368

      @@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 года назад +19

      less than a day lol

    • @user-mb1kj8gt8b
      @user-mb1kj8gt8b 4 года назад +28

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

  • @theaterkidem
    @theaterkidem 4 года назад +5123

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

  • @maxisswag9490
    @maxisswag9490 6 лет назад +9015

    next video: AI learns to dislike youtube rewind 2018

    • @CarthagoMike
      @CarthagoMike 6 лет назад +310

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

    • @Panservogn
      @Panservogn 6 лет назад +11

      Hah

    • @hequek2659
      @hequek2659 6 лет назад +22

      Dislike bots

    • @PhDofBonology
      @PhDofBonology 6 лет назад +4

      PLEASE

    • @brokeangryjerry9605
      @brokeangryjerry9605 6 лет назад +88

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

  • @thefunnyguyfromtheburgerki3334
    @thefunnyguyfromtheburgerki3334 4 года назад +750

    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

    • @EEEEEEEE
      @EEEEEEEE Год назад +1

      E‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎

    • @Slavasil
      @Slavasil 6 месяцев назад

      @@EEEEEEEE your commEnt makEs no sEnsE

    • @nothingonmypfp
      @nothingonmypfp 5 месяцев назад

      ​@@EEEEEEEE *_E._*

    • @magmacode7256
      @magmacode7256 2 месяца назад

      @@EEEEEEEEindEEd

  • @alansmithee419
    @alansmithee419 5 лет назад +2522

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

    • @meltdowntf2865
      @meltdowntf2865 5 лет назад +5

      Yeh

    • @yoshiwav
      @yoshiwav 5 лет назад +2

      couldve just put playback speed at 0.25

    • @cryb33
      @cryb33 5 лет назад

      :/

    • @PointlessAi
      @PointlessAi 5 лет назад +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/видео.html

  • @HypnoManSweger
    @HypnoManSweger 5 лет назад +6082

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

    • @nagualdesign
      @nagualdesign 5 лет назад +597

      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 лет назад +272

      He also recreated the game in a day

    • @Bella1899
      @Bella1899 5 лет назад +228

      Simple =/= easy 😀

    • @Henrix1998
      @Henrix1998 5 лет назад +87

      @@Bella1899 except for computer in this case

    • @kindnesstemmie6625
      @kindnesstemmie6625 5 лет назад +39

      Human are just indefinitely stupid

  • @irun_mon
    @irun_mon 5 лет назад +3250

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

    • @DJismailDJ
      @DJismailDJ 5 лет назад +30

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

    • @irun_mon
      @irun_mon 5 лет назад +137

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

    • @UnRatedxxxXXX15
      @UnRatedxxxXXX15 5 лет назад +5

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

    • @zaretya9091
      @zaretya9091 5 лет назад +2

      500th like

    • @ChatLogic
      @ChatLogic 5 лет назад

      WidowMainBoo k

  • @bronsoncarder2491
    @bronsoncarder2491 4 года назад +284

    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 года назад +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 года назад +25

      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.

  • @philiphockenbury6563
    @philiphockenbury6563 6 лет назад +667

    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 лет назад +3

      And i thought i sucked at flappy bird

    • @dannydevitofan6101
      @dannydevitofan6101 6 лет назад +1

      You talking about the sponsorship?

    • @j9rd115
      @j9rd115 6 лет назад +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/видео.html

  • @vee9066
    @vee9066 4 года назад +4294

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

  • @EPICRAGE1000
    @EPICRAGE1000 6 лет назад +3453

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

    • @sfrjogaraa8283
      @sfrjogaraa8283 6 лет назад +278

      Living the life right 😊

    • @meymoo8587
      @meymoo8587 6 лет назад +224

      a literal cat

    • @tchr.p.3x2
      @tchr.p.3x2 6 лет назад +174

      and still manages to code.

    • @L76-k8y
      @L76-k8y 6 лет назад +9

      I can relate

    • @AnthonyAstleyLim
      @AnthonyAstleyLim 6 лет назад +66

      Next up: AI learned how to sleep so you don't have to.

  • @Zyloa
    @Zyloa 4 года назад +6964

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

    • @jxceuu
      @jxceuu 4 года назад +241

      😭😭😭

    • @Midnight-Starfish
      @Midnight-Starfish 4 года назад +1039

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

    • @jxceuu
      @jxceuu 4 года назад +362

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

    • @Madz00000
      @Madz00000 4 года назад +187

      R.i.p flappy *B O I*

    • @mrgamer123bestone7
      @mrgamer123bestone7 4 года назад +927

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

  • @yen6415
    @yen6415 4 года назад +2406

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

  • @wave4125
    @wave4125 5 лет назад +4094

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

    • @PacMan755
      @PacMan755 5 лет назад +39

      cause why not amm i rite

    • @pg7166
      @pg7166 5 лет назад +139

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

    • @wally4087
      @wally4087 5 лет назад +16

      @@pg7166 you can just download the APK

    • @PacMan755
      @PacMan755 5 лет назад +42

      @@pg7166 what a pussy

    • @azrael_pendragon
      @azrael_pendragon 5 лет назад +23

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

  • @stardown77
    @stardown77 5 лет назад +2531

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

    • @Aquana01
      @Aquana01 5 лет назад +29

      You can play with that a lot

    • @helyxmusic
      @helyxmusic 5 лет назад +70

      this is actually physically correct😂😂😂😂

    • @Guitare_picking
      @Guitare_picking 5 лет назад +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 лет назад +31

      leratluci r/whooooooosh

    • @toastedbiscuit1400
      @toastedbiscuit1400 5 лет назад +18

      XxSummerxX ihavereddit

  • @adrenalina7-7
    @adrenalina7-7 4 года назад +63

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

  • @dinardinar2657
    @dinardinar2657 5 лет назад +627

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

    • @HexicSnake
      @HexicSnake 5 лет назад +11

      Dinar Dinar he does it often

    • @TomB09
      @TomB09 5 лет назад +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 лет назад

      I made it 59

    • @LyricLaude
      @LyricLaude 5 лет назад

      In a day

    • @slojcabronas858
      @slojcabronas858 5 лет назад +2

      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

  • @NickZGames
    @NickZGames 5 лет назад +1121

    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 года назад +11

      Rick and Morty reference.

    • @grounds_up3780
      @grounds_up3780 4 года назад +4

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

    • @fredthespear4923
      @fredthespear4923 4 года назад +2

      Grounds_ Up oh.....

    • @markassbrownie2357
      @markassbrownie2357 4 года назад +6

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

    • @liber2350
      @liber2350 4 года назад

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

  • @PhoenixCNSTL
    @PhoenixCNSTL 5 лет назад +2778

    50 years later:
    AI learns how to kill a human

    • @MimOzanTamamogullar
      @MimOzanTamamogullar 5 лет назад +30

      ruclips.net/video/fURH8z3hb6Y/видео.html
      Are you living under a rock?

    • @xdtrollers5525
      @xdtrollers5525 5 лет назад

      @@MimOzanTamamogullar s

    • @xdtrollers5525
      @xdtrollers5525 5 лет назад

      Yee

    • @deadpirateroberts9937
      @deadpirateroberts9937 5 лет назад +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 лет назад

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

  • @PiPiSquared
    @PiPiSquared 3 года назад +27

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

  • @user-eh7rz1vf2u
    @user-eh7rz1vf2u 6 лет назад +505

    It went so fast it looked like the pipes went backwards

    • @LP-ir3op
      @LP-ir3op 6 лет назад +12

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

    • @bllllllllackbirdie
      @bllllllllackbirdie 6 лет назад

      @@LP-ir3op my brain, wtf.

    • @bazinga479
      @bazinga479 6 лет назад +1

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

    • @svenfransen4605
      @svenfransen4605 6 лет назад

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

    • @creatureofhabit7049
      @creatureofhabit7049 6 лет назад

      @@svenfransen4605 you have never coded a game right?

  • @afuzzylemon2521
    @afuzzylemon2521 5 лет назад +1299

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

    • @drsatheeshkrishna
      @drsatheeshkrishna 5 лет назад +26

      Nyquist principle

    • @locococo8961
      @locococo8961 5 лет назад

      @@drsatheeshkrishna ?

    • @drsatheeshkrishna
      @drsatheeshkrishna 5 лет назад +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 лет назад +3

      @@locococo8961 remember hand spinner , and levitating water

    • @afuzzylemon2521
      @afuzzylemon2521 5 лет назад +1

      Woah my comment got so many likes

  • @gavinpoperechny1610
    @gavinpoperechny1610 6 лет назад +516

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

    • @thefirekonaai8919
      @thefirekonaai8919 6 лет назад +46

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

    • @thefirekonaai8919
      @thefirekonaai8919 6 лет назад +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 лет назад +2

      Yes.

    • @benrosen5917
      @benrosen5917 6 лет назад +11

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

    • @wildgoosechase4642
      @wildgoosechase4642 6 лет назад +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.

  • @kallevonderimbissbude3289
    @kallevonderimbissbude3289 4 года назад +26

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

    • @arcticlegend8159
      @arcticlegend8159 3 года назад

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

    • @hopecore420
      @hopecore420 11 месяцев назад

      Such love and care🥰

  • @user-jz6ui8hk7e
    @user-jz6ui8hk7e 6 лет назад +1554

    *AI learns to fix my parents’ marriage*

  • @vyable
    @vyable 6 лет назад +315

    the bird was a paid actor.

    • @vyable
      @vyable 6 лет назад

      Herleik Holtan ^

    • @adamxue6096
      @adamxue6096 6 лет назад +2

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

    • @cheeselord8153
      @cheeselord8153 6 лет назад

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

    • @cheeselord8153
      @cheeselord8153 6 лет назад

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

    • @vyable
      @vyable 6 лет назад

      Herleik Holtan chill jesus

  • @brandonwyffels8002
    @brandonwyffels8002 6 лет назад +688

    Next video: AI learns how to hit the snooze button

    • @adeshpoz1167
      @adeshpoz1167 6 лет назад +2

      Evan=destroyed. 😂

    • @Lukas99g
      @Lukas99g 6 лет назад

      11 minute snooze is finally defeated.

    • @orbital1971
      @orbital1971 5 лет назад

      @@Lukas99g scp foundation:stay where you are

    • @zebr0
      @zebr0 5 лет назад

      AI learns how to AI

  • @goldenbananit3052
    @goldenbananit3052 4 года назад +31

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

  • @soynutsandkale5286
    @soynutsandkale5286 5 лет назад +5626

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

  • @Pedakin
    @Pedakin 6 лет назад +1656

    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 лет назад +118

      @Johnithinuioian chill

    • @alsdros1183
      @alsdros1183 6 лет назад +12

      @Johnithinuioian just cause xD

    • @denomoable
      @denomoable 6 лет назад +142

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

    • @YenpisW
      @YenpisW 6 лет назад +30

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

    • @rwubaa222
      @rwubaa222 6 лет назад +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

  • @TrimutiusToo
    @TrimutiusToo 6 лет назад +711

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

    • @v1mz
      @v1mz 6 лет назад +12

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

    • @bohmel
      @bohmel 6 лет назад +6

      Nah gonna need that RTX Titan

    • @Echozkii
      @Echozkii 6 лет назад +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 лет назад +2

      I bet she will crack records with her rig

    • @user2C47
      @user2C47 6 лет назад +4

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

  • @nicholascharest8191
    @nicholascharest8191 4 года назад +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.

  • @Cynadite
    @Cynadite 6 лет назад +313

    A.I. learns geometry dash.

  • @pixel4712
    @pixel4712 6 лет назад +267

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

    • @shukaku8772
      @shukaku8772 6 лет назад +4

      Ikr

    • @sosogo4real
      @sosogo4real 6 лет назад +13

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

    • @TheGauges420
      @TheGauges420 6 лет назад +4

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

  • @Fefonfon
    @Fefonfon 6 лет назад +229

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

  • @straycursor5562
    @straycursor5562 3 года назад +23

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

  • @rowniz5001
    @rowniz5001 6 лет назад +504

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

    • @DeathMetalSon
      @DeathMetalSon 6 лет назад +28

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

    • @rowniz5001
      @rowniz5001 6 лет назад +78

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

    • @online_cat
      @online_cat 6 лет назад +79

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

    • @thatoneguy9582
      @thatoneguy9582 6 лет назад +1

      Animation Hub
      yeah that works

    • @MegaKillMeister
      @MegaKillMeister 6 лет назад

      @@rowniz5001 r/woooosh

  • @equilton
    @equilton 6 лет назад +1785

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

    • @timetraveler3806
      @timetraveler3806 6 лет назад +19

      Equilton I see it too

    • @bundleoffuck2986
      @bundleoffuck2986 6 лет назад +1

      I don’t. Lol

    • @BLVCKSCORP
      @BLVCKSCORP 6 лет назад +6

      It depends on ur eyes, ppl see it differently

    • @xenorac
      @xenorac 6 лет назад +60

      @@KnightandDay33Its a strobe effect, that is all

    • @vincentth3041
      @vincentth3041 6 лет назад +21

      I saw it to i think it depends on the frameratr

  • @PlayPerfecto
    @PlayPerfecto 6 лет назад +129

    A few lines of code.
    *Writes essay*

    • @justas423
      @justas423 6 лет назад +8

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

  • @flowerisokay28
    @flowerisokay28 3 года назад +20

    5:58 truly a masterpiece, made me cry

  • @madarauchiha1174
    @madarauchiha1174 5 лет назад +1147

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

    • @simonscherer2821
      @simonscherer2821 5 лет назад +39

      Like wheels of the car on the highway😄

    • @DavePelle
      @DavePelle 5 лет назад +7

      Aliasing problem

    • @benchervek5629
      @benchervek5629 5 лет назад +13

      Its called the Qamuachi effect bruh

    • @coochiemeowmeow2210
      @coochiemeowmeow2210 5 лет назад +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 лет назад +10

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

  • @elburd
    @elburd 6 лет назад +1891

    *coding is God language*

  • @rdw7505
    @rdw7505 5 лет назад +1031

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

    • @chocopuff
      @chocopuff 5 лет назад +56

      i searched for this comment 😂

    • @pong5592
      @pong5592 5 лет назад +5

      @@chocopuff yep

    • @BreadstixTheAnimator
      @BreadstixTheAnimator 5 лет назад +10

      Slow it down to 0.25 and its impossible flappy bird

    • @twanguillermo
      @twanguillermo 5 лет назад +1

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

    • @stevethea5250
      @stevethea5250 5 лет назад

      @@pong5592 too fast

  • @acez28
    @acez28 4 года назад +47

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

  • @p.c.2438
    @p.c.2438 6 лет назад +246

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

    • @unitrader403
      @unitrader403 6 лет назад +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 лет назад +1

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

    • @kevinrdunnphs
      @kevinrdunnphs 6 лет назад +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

  • @4coolkidz91
    @4coolkidz91 5 лет назад +1237

    This is basically like naruto using clones to learn Rasenshuriken

    • @stevethea5250
      @stevethea5250 5 лет назад +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 лет назад +25

      @@machranCALINTZ no u

    • @tusiekcat
      @tusiekcat 5 лет назад +1

      Yeah

    • @user-xs4me2wg4c
      @user-xs4me2wg4c 5 лет назад +3

      @@machranCALINTZ r/youngpeopleyoutube

    • @kendrakrust1244
      @kendrakrust1244 5 лет назад +3

      @@user-xs4me2wg4c r/rareinsults

  • @HipProGamer
    @HipProGamer 6 лет назад +1139

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

    • @legendfrog5762
      @legendfrog5762 6 лет назад

      Ya

    • @GothicCorvid
      @GothicCorvid 6 лет назад +12

      Nah it's not just you

    • @carissamace
      @carissamace 6 лет назад +1

      I forgot what it’s called and it’s cool

    • @nonchip
      @nonchip 6 лет назад +5

      @@carissamace it's called framerate :P

    • @simonprecheurllarena
      @simonprecheurllarena 6 лет назад +45

      It’s called the stroboscopic effect, and yes, it is linked to the frame rate :)

  • @nurabsol
    @nurabsol 2 года назад +1

    Song at 2:18 drawing the bird is eveningland | hyperspeed

  • @PatoHeroe
    @PatoHeroe 4 года назад +782

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

  • @VeryEpicPotato
    @VeryEpicPotato 6 лет назад +321

    Next up: AI learns to code

    • @Echozkii
      @Echozkii 6 лет назад

      I wonder how long that would take to make tbh

    • @catlover1781
      @catlover1781 6 лет назад +2

      👌

    • @rb1471
      @rb1471 6 лет назад

      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 лет назад +1

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

    • @autumnleaf5050
      @autumnleaf5050 6 лет назад

      It will destroy us lol

  • @timo5628
    @timo5628 5 лет назад +952

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

    • @toasty7408
      @toasty7408 5 лет назад +47

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

    • @flamingrubys11
      @flamingrubys11 5 лет назад +133

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

    • @grantdalenberg1997
      @grantdalenberg1997 5 лет назад +47

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

    • @toasty7408
      @toasty7408 5 лет назад +6

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

    • @thomasfplm
      @thomasfplm 5 лет назад +34

      @@grantdalenberg1997, not on the phone.

  • @SevenIsaCannibal7
    @SevenIsaCannibal7 4 года назад +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

  • @sspr1nt
    @sspr1nt 5 лет назад +561

    The “FASTER” part was like an anime battle.

  • @therealcoachpotato105
    @therealcoachpotato105 4 года назад +268

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

  • @FinnKid1
    @FinnKid1 5 лет назад +876

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

    • @noitnettaattention
      @noitnettaattention 5 лет назад +3

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

    • @birchbuzzbee3984
      @birchbuzzbee3984 5 лет назад +29

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

    • @rubixsentinel9
      @rubixsentinel9 5 лет назад +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 лет назад

      @@rubixsentinel9 ??? Huh ?

    • @dinh6327
      @dinh6327 5 лет назад +4

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

  • @Twingamerdudes
    @Twingamerdudes 2 года назад +1

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

  • @franciasii2435
    @franciasii2435 6 лет назад +292

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

  • @monsterkingrpk
    @monsterkingrpk 4 года назад +698

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

    • @alsofrog3863
      @alsofrog3863 4 года назад +9

      ikr

    • @mranxiety9995
      @mranxiety9995 4 года назад +86

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

    • @mranxiety9995
      @mranxiety9995 4 года назад +98

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

    • @Flibberdijibbet
      @Flibberdijibbet 4 года назад +53

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

    • @mranxiety9995
      @mranxiety9995 4 года назад +31

      @@Flibberdijibbet That explains it

  • @petfama4211
    @petfama4211 6 лет назад +343

    Do Tetris!

  • @virginialao5132
    @virginialao5132 3 года назад +2

    Birds: I do be vib’in towards the music

  • @wasOnceBigJ
    @wasOnceBigJ 6 лет назад +899

    5:30 it goes backwards in the human eye

    • @groinBlaster31
      @groinBlaster31 6 лет назад +17

      Look up aliasing

    • @alexknudsen9187
      @alexknudsen9187 6 лет назад +14

      Welp guess im not a human.....

    • @kappaspammerderzweite5884
      @kappaspammerderzweite5884 6 лет назад +66

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

    • @groinBlaster31
      @groinBlaster31 6 лет назад +6

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

    • @kappaspammerderzweite5884
      @kappaspammerderzweite5884 6 лет назад +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

  • @snakhickory
    @snakhickory 6 лет назад +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 лет назад +79

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

    • @shadowreaper4970
      @shadowreaper4970 6 лет назад +15

      Hickory Stick God there is a machine do that lol

    • @thepope2412
      @thepope2412 6 лет назад +11

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

    • @ImMaleKx
      @ImMaleKx 6 лет назад +2

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

    • @ShadowFox10587O
      @ShadowFox10587O 6 лет назад

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

  • @ignatius7124
    @ignatius7124 5 лет назад +858

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

  • @prismgod1904
    @prismgod1904 2 года назад +1

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

  • @squeakystool8910
    @squeakystool8910 6 лет назад +1671

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

  • @dancagurli
    @dancagurli 5 лет назад +795

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

  • @jaichand8947
    @jaichand8947 5 лет назад +30

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

  • @TheMarshmallowMushroom
    @TheMarshmallowMushroom 3 года назад +2

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

  • @raz0229
    @raz0229 6 лет назад +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 6 лет назад +5

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

    • @pheonix3862
      @pheonix3862 5 лет назад +1

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

  • @blackberry_871
    @blackberry_871 6 лет назад +113

    Next one :
    AI learns how to subscribe to Pewdiepie

    • @akdroa1502
      @akdroa1502 6 лет назад +5

      Blackberry_ t series already figured that one out

    • @kkodama1858
      @kkodama1858 6 лет назад

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

    • @akdroa1502
      @akdroa1502 6 лет назад

      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 лет назад

      @@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 лет назад

      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

  • @creechmills8426
    @creechmills8426 6 лет назад +78

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

  • @thatchicken4048
    @thatchicken4048 3 года назад +1

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

  • @BL-xz3ym
    @BL-xz3ym 5 лет назад +244

    1:56 “twerking the jumping mechanics”

  • @whoopdee-doo6393
    @whoopdee-doo6393 6 лет назад +217

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

  • @itshaxerboi5611
    @itshaxerboi5611 5 лет назад +722

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

    • @stevea7048
      @stevea7048 5 лет назад +9

      Itshaxerboi that’s hot

    • @omarhuda4997
      @omarhuda4997 5 лет назад +2

      @@stevea7048 mark ass brownie

    • @DuraluminBurner
      @DuraluminBurner 5 лет назад +3

      FuCk Go BaCk

    • @JonesCrimson
      @JonesCrimson 5 лет назад +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 лет назад

      @Your daily RUclips lol wrong video leave

  • @GrayM2
    @GrayM2 2 года назад +2

    Next video:ai learn to dominate the world

  • @ziggy8253
    @ziggy8253 5 лет назад +113

    “Pipe for days, boi.” 2:42

  • @hafezeshirazi1940
    @hafezeshirazi1940 6 лет назад +366

    0:32 he's subscribed to pewdiepie, looooool

    • @jiksuarc
      @jiksuarc 6 лет назад +37

      Absolute mad lad

    • @Random-bw2km
      @Random-bw2km 6 лет назад +1

      And blitz

    • @braytonc6574
      @braytonc6574 6 лет назад +117

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

    • @cdw2468
      @cdw2468 6 лет назад +59

      DOING HIS PART

    • @yember
      @yember 6 лет назад +36

      A fellow 14 year old

  • @shizu5082
    @shizu5082 5 лет назад +41

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

  • @hongyichen0611
    @hongyichen0611 2 года назад +1

    Great job! Merry Christmas!

  •  6 лет назад +2194

    *next video*Ai learned to subscribe to pewdiepie

  • @feynstein1004
    @feynstein1004 6 лет назад +333

    AI learns to play Stronghold Crusader :P

    • @anonymousstout4759
      @anonymousstout4759 6 лет назад

      Feynstein 100 this is cool

    • @rasput1n6
      @rasput1n6 6 лет назад +1

      love that game

    • @kokutu2139
      @kokutu2139 6 лет назад +2

      Game of my life

    • @celestailshock4693
      @celestailshock4693 6 лет назад +2

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

    • @zainekatsumi
      @zainekatsumi 6 лет назад +1

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

  • @dampelps
    @dampelps 6 лет назад +84

    It’s so awesome to have an ability to make your ideas come true.

  • @ethanstuart5945
    @ethanstuart5945 4 года назад +3

    "AI learns to play flappy bird" that's how you know you reached the weird side of RUclips

  • @Catjammrr
    @Catjammrr 5 лет назад +22

    Can we just take a moment to appreciate the time he takes to make all his videos,
    First he has to actually do the coding, which probibly takes a few day, then he has to edit the video, then he has to draw the person that talks, then he has to do the voiceover.
    This dude need more recognition!

  • @KunalSharma-so6jv
    @KunalSharma-so6jv 6 лет назад +2449

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

    • @TheJamieKeely
      @TheJamieKeely 6 лет назад +6

      kunal Sharma Like what?

    • @KunalSharma-so6jv
      @KunalSharma-so6jv 6 лет назад +66

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

    • @KieranHolroyd
      @KieranHolroyd 6 лет назад +272

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

    • @sanjixfarron7447
      @sanjixfarron7447 6 лет назад +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 6 лет назад +23

      Reunite The British Empire weird flex but ok 👌🏼

  • @foxrine
    @foxrine 5 лет назад +386

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

    • @ratioripbozo
      @ratioripbozo 5 лет назад

      Jep

    • @nerd5862
      @nerd5862 5 лет назад +4

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

    • @rep_benjamin64
      @rep_benjamin64 4 года назад

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

    • @ThatUnknownDude_
      @ThatUnknownDude_ 4 года назад +2

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

    • @jasonreed7522
      @jasonreed7522 4 года назад +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)

  • @rikorahman6962
    @rikorahman6962 4 года назад +8

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

  • @avo143
    @avo143 4 года назад +199

    4:43 ok but can we talk about how the music kinda syncs?

  • @alejandrohb5813
    @alejandrohb5813 4 года назад +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 года назад +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 года назад +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 года назад +31

      Tanzis Liebling002 yeah but writers block is a bitch

    • @hotcoder6154
      @hotcoder6154 4 года назад +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 года назад +2

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

  • @akaTandy
    @akaTandy 4 года назад +337

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

    • @johngerken4263
      @johngerken4263 4 года назад +7

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

    • @qk7x
      @qk7x 4 года назад +12

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

    • @johngerken4263
      @johngerken4263 4 года назад +1

      I know

    • @itzgamer21
      @itzgamer21 4 года назад +1

      GUYS FADED MEANS LIKE THE VIDEO NOT LE COMMENT

    • @monke3387
      @monke3387 4 года назад

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

  • @TheMOfficial500
    @TheMOfficial500 Год назад +2

    I love how everyone just skips to the demonstration part

  • @pershing6367
    @pershing6367 6 лет назад +61

    “Twerking the jump mechanics”

    • @parkerlovein6042
      @parkerlovein6042 6 лет назад +5

      Amir Hetherington I really hope he meant “tweaking.”

    • @sosogo4real
      @sosogo4real 6 лет назад +3

      @@parkerlovein6042 considering he said thiccness

    • @sosogo4real
      @sosogo4real 6 лет назад

      @Hydrogen unf

  • @raimbowdash360
    @raimbowdash360 5 лет назад +769

    A.i learns to play plague inc?

    • @Rafa-cm9no
      @Rafa-cm9no 5 лет назад +76

      Oh no

    • @-Agent_47_
      @-Agent_47_ 5 лет назад +141

      Watch out Greenland
      We are coming for you

    • @delirium1643
      @delirium1643 5 лет назад +35

      That's probably gonna be hard

    • @csharpcoffee
      @csharpcoffee 5 лет назад +33

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

    • @ifinnishboy4126
      @ifinnishboy4126 5 лет назад +9

      Gen 100000000000000000000000000000000000000000000000

  • @scene6289
    @scene6289 6 лет назад +230

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

    • @Volsraphel
      @Volsraphel 6 лет назад +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 лет назад +19

      where theres a will theres a way.

    • @christophermoore6110
      @christophermoore6110 6 лет назад

      IDK :p just like iFunny

    • @MichaelIZKOOL
      @MichaelIZKOOL 6 лет назад +21

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

    • @redrosegaming5291
      @redrosegaming5291 6 лет назад

      @@MichaelIZKOOL good guess..

  • @NAFProjects
    @NAFProjects 4 года назад +1

    It took 6 generations.
    To make literal gods at Flappy Bird.