Slashdot Mirror


Code.org Resurrects 'Flappy Bird' As Programming Lesson

Nerval's Lobster writes "Flappy Bird might be kaput, but its hilariously awkward hero is serving another useful purpose in its afterlife: teaching people how to code. Flappy Bird, a free mobile game for Android and iOS that asks the player to guide the titular avian through an obstacle course of vertical pipes, became a sensation earlier this year, seizing the top spots on the Apple and Google Play app stores. Its creator, Dong Nguyen, said the game earned him an average of $50,000 a day through in-app advertising — but that didn't stop him from yanking the game offline in early February. Now Code.org has resurrected Flappy Bird, Phoenix-style, from the smoking wreckage, with a free tutorial that allows anyone with a bit of time to code his or her very own version of the game. There's no actual code to learn, thanks to a visual interface that allows budding developers to drag 'blocks' of commands into place. 'Flappy Bird recently met its untimely death. We might've been tempted to cry all day and give up on spreading computer science (not really, but R.I.P Flappy Bird),' read a note on Code.org's blog. 'Instead, we built a new drag-and-drop tutorial that lets you build your own Flappy game — whether it's Flappy Bird, or Flappy Easter Bunny, Flappy Santa, Flappy Shark with Lasers, Flappy Fairy or Flappy Underwater Unicorn.' Childish? Maybe. But it could help draw people into coding for fun or profit."

72 comments

  1. Copyright? by Lawrence_Bird · · Score: 5, Insightful

    Just because he pulled the game does not mean he gave up rights to it.

    1. Re:Copyright? by slashmydots · · Score: 1

      Speaking of that, why was the game pulled?

    2. Re:Copyright? by Anonymous Coward · · Score: 5, Insightful

      Rights? Rights to what? Sprites from Mario or the game concept that has been around for decades?

    3. Re:Copyright? by QuasiSteve · · Score: 3, Informative
    4. Re:Copyright? by Anonymous Coward · · Score: 1

      Just because he pulled the game does not mean he gave up rights to it.

      What rights are you talking about here. The point was drag'n'drop programming so it can't be the code.
      Isn't the graphics a blatant ripoff from Super Mario Brothers? I think Nintendo have the rights to that.
      The music/sound? I haven't played Flappy Bird but I doubt the lessons include audio from Flappy Bird.
      What is left? A sidescroller where you push to jump/adjust altitude. Sounds like a simplified version of Gumshoe but there are probably a bunch of titles out there with the same concept.
      At most he can argue the right to the name, as far as I know Flappy and Bird have not been used together that way in a game title before, but I haven't done any research on it.

    5. Re:Copyright? by Cenan · · Score: 3, Interesting
      --
      ... whatever ...
    6. Re:Copyright? by Anonymous Coward · · Score: 0

      I believe that the developer, Dong Nguyen, is on record saying he didn't care about copycat apps.

    7. Re:Copyright? by gstoddart · · Score: 4, Interesting

      You can't copyright the mechanics of the game, which is why every successful game gets copied until there's 50 different versions of essentially the same thing.

      In fact, I believe this is what Zynga based their business model on -- doing knock-offs of someone else's games.

      You can copyright the specific images, but not the mechanics.

      Hell, I've got one on my Android tablet called "Happy Poo Flap".

      --
      Lost at C:>. Found at C.
    8. Re:Copyright? by asmkm22 · · Score: 1

      I'm just amazed he wasn't sued by Nintendo.

    9. Re:Copyright? by Lennie · · Score: 1

      Copyright only applies to the original code. Not the idea.

      The original developer said he made it in a few days, so I doubt they used the original code.

      It really isn't complicated to create a lookalike game.

      If you want to prevent someone from stealing your ideas, you need a patent.

      --
      New things are always on the horizon
    10. Re:Copyright? by interkin3tic · · Score: 1

      The guy evidently couldn't handle fame and trolls. Doesn't sound like he's up to the task of pulling a King Candy Crush and taking a legal scorched earth policy.

    11. Re:Copyright? by gstoddart · · Score: 1

      If you want to prevent someone from stealing your ideas, you need a patent.

      With the caveat that you can only patent something which is a specific thing and implementation, and has to be (well, is supposed) to be a novel invention.

      Patents do NOT apply to "a game in which you tap the screen to go up and down and pass through a maze".

      There is nothing at all in that game which would (or should) qualify for a patent. Really, this is "side scroller" meets "Joust". It's essentially a game with a single button, and we've had those for decades.

      --
      Lost at C:>. Found at C.
  2. Lego building != Architect by Arith · · Score: 5, Insightful

    WAAAAAIIIT wait wait wait ...

    "Flappy Bird might be kaput, but its hilariously awkward hero is serving another useful purpose in its afterlife: teaching people how to code."
    and
    "There's no actual code to learn, thanks to a visual interface that allows budding developers to drag 'blocks' of commands into place."

    So.. you're teaching people to code by not teaching people to code?

    1. Re:Lego building != Architect by Anonymous Coward · · Score: 3, Informative

      Yes, you are teaching the concept of computer programs. If you want to look at the code click the "Show Code" button. This is a very clever tutorial.

    2. Re:Lego building != Architect by slashmydots · · Score: 1

      It's called "encapsulation." Lol, just kidding. All programmers should know what every single line of code specifically does or you end up with crap software with unsolvable glitches.

    3. Re:Lego building != Architect by Arith · · Score: 4, Interesting

      I'll admit all I read was those two lines :) The only exception I take - popularizing code like this - is we get a flood of useless coders out there, who don't know how a compiler/linker etc etc work. Not to say we don't already have that.. just worse.

      On the other hand, sparking that interest is fairly key. Shrug, if it works, it works.

    4. Re:Lego building != Architect by Anonymous Coward · · Score: 1

      I'm not sure it is necessary at this point to know how a compiler or linker works. Many languages don't even use them.

    5. Re:Lego building != Architect by Cenan · · Score: 4, Interesting

      It's no more a tutorial on programming, than watching the Nature channel is an education to become a biologist. It might spark someone's interest, but I do think that interest would have been sparked regardless.

      --
      ... whatever ...
    6. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      That's the one.

      many people who code, do it because it's their passion.

      Goes for alot of IT work. I see two types of people using this:

      1) A person who wants to code, has a passion for it and wants to learn more. Might pick up a few tricks from this but gets bored because it's not exactly coding. Just kind of shows you some of the logic behind it.

      2) A person who is interested in coding but knows nothing yet: Loves this type of "coding" then goes on to a 'real' language and gets horribly disappointed and frustrated.

    7. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      As good as stuff like this or Interface Builder is for getting simple apps out the door, it's also why if I ever needed to hire help I would never advertise for an app developer: far more widespread incompetence than amongst regular software engineers. It's easier to learn some APIs than learn all about math and computer science and undo the many bad practices you picked up while working without a proper background.

    8. Re:Lego building != Architect by Phics · · Score: 1

      So.. you're teaching people to code by not teaching people to code?

      Absolutely! Anyone remember Rocky's Boots? Similar concept here - learn all about program execution, logic, conditional operators, and functions which are fundamental to any programming language.

      --
      There are two types of people in the world; those who believe there are two types of people, and those who don't.
    9. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      You mean Lego building != Structural Engineering.

      Designing things (legos, matches, toothpicks, mashed potatoes) is very much architecture.

    10. Re:Lego building != Architect by ShanghaiBill · · Score: 1

      So.. you're teaching people to code by not teaching people to code?

      It uses a Scratch-like interface, which is "coding" in every sense but typing. You still need to understand loops, conditionals, etc., and you have to learn how to structure a program. The only thing you don't have to know is the low-level syntax, such as correct spelling of keywords. It is a very good introduction to programming, especially for young kids that haven't learned to touch type yet.

    11. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      There are very real uses for shitty programmers. Engineers and academics are prime examples.

    12. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      How is it not a tutorial on programming? Is it because it is really basic? The same visual block system is used in other tutorials for more advanced topics including math operations, conditionals, and loops. But I guess we can't have tutorials with immediate feedback and output before getting to "real" programming topics?

    13. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      It's like teaching people to drive with a drivers-assist :-)

    14. Re:Lego building != Architect by waimate · · Score: 1

      Yes, it's Scratch-like in construction -- but it excludes concepts like loops and branching. This tutorial is really not much more than configuring a couple of parameters in a pre-built flappy-bird game.

      I'm a big fan of Scratch, of code.org, and of teaching kids how to code. But sad to say this offering misses the point entirely.

    15. Re:Lego building != Architect by Neo-Rio-101 · · Score: 1

      I remember Rocky's Boots and having my cursor eaten by the alligator before I zapped it with the electric fence.

      --
      READY.
      PRINT ""+-0
    16. Re:Lego building != Architect by Anonymous Coward · · Score: 0

      They seem to have removed that button from this tutorial...

    17. Re: Lego building != Architect by Anonymous Coward · · Score: 0

      Another well thought out argument. What could possibly go wrong! Give this brogrammer a medal!

    18. Re:Lego building != Architect by Hognoxious · · Score: 1

      So.. you're teaching people to code by not teaching people to code?

      It's like Wargames, Xzibit and Bruce Lee all rolled into one.

      --
      Confucius say, "Find worm in apple - bad. Find half a worm - worse."
  3. $50,000 per day??? by Anonymous Coward · · Score: 1

    $50,000 per day in in app advertisement? Is that even possibly correct? I mean he pulled it WHEN it got popular, not long after, so...? What percent of people really click on those things anyway?

    1. Re:$50,000 per day??? by Anonymous Coward · · Score: 1

      You don't need people to click, viewing a banner is enough to get some cents.

    2. Re:$50,000 per day??? by Anonymous Coward · · Score: 1

      No kidding. For the measly sum of $5,000 a day, I will happily chain Dong Nguyen to a chair and whip him constantly until he bangs out another app that puts anywhere near as many eyes in front of those ads.

  4. Flappy Coding Generation by BisuDagger · · Score: 2

    This is the perfect opportunity to breed more Flappy Coders. I can't wait to see what Flappy Coding will bring us next!

    1. Re:Flappy Coding Generation by Anonymous Coward · · Score: 3, Funny

      This is the perfect opportunity to breed more Flappy Coders. I can't wait to see what Flappy Coding will bring us next!

      Flappy Code. Flappy Programs. Flappy Servers. Flappy Cloud.

    2. Re:Flappy Coding Generation by Anonymous Coward · · Score: 2, Funny

      Beta Slashdot.

  5. Why all the popularity? by Anonymous Coward · · Score: 0

    I'll never understand why it was all the rage... it's the same as that helicopter game that's been around for ages. Damn youngsters.

    1. Re:Why all the popularity? by jones_supa · · Score: 1

      I still haven't played it or even watched a video about it. I do not robotically follow every hipster trend that happens. As the game has been all over the place, I have seen a couple of screenshots of the game like the one in the article. But I will probably just pass this one. I'm not criticizing the game in any way though.

    2. Re:Why all the popularity? by hcs_$reboot · · Score: 2

      Flappy Bird didn't gain popularity thanks to a great and innovative concept. It succeeded thanks to 1. initially fake reviews from the author 2. many people downloading it 3. and talking about it (basically asking the same question as yours) 4. more downloads. In other words, the snowball effect...

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    3. Re:Why all the popularity? by hcs_$reboot · · Score: 1

      Flappy Bird didn't gain popularity thanks to a great and innovative concept. It succeeded thanks to 1. initially fake reviews from the author 2. many people downloading it 3. and talking about it (basically asking the same question as yours) 4. more downloads. In other words, the snowball effect...

      Well, actually, in a way, it won thanks to an "innovative" concept..

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    4. Re:Why all the popularity? by jones_supa · · Score: 1

      Flappy Bird didn't gain popularity thanks to a great and innovative concept. It succeeded thanks to 1. initially fake reviews from the author 2. many people downloading it 3. and talking about it (basically asking the same question as yours) 4. more downloads. In other words, the snowball effect...

      So basically just effective marketing.

    5. Re:Why all the popularity? by Soulskill · · Score: 4, Insightful

      I don't think there exists a good 'why' for games like this getting ridiculously popular. It seems every so often a game will hit a few social circles in just the right way, and enough people will talk about it that it infects other socials, eventually propagating to where it shows up on 'Featured' and 'Hot' lists, which sets off another round of growth.

      At least this one's not another variation on Bejeweled (which was itself very derivative).

    6. Re:Why all the popularity? by gnupun · · Score: 1

      I'll never understand why it was all the rage...

      You'll understand why if you play one of the clones (use 'flappy' as search term in your app store) like 'iron pants'.

      Hint: it's really hard to get even a score of '1' (pass a pipe without crashing). Raging after a few losses is quite common.

    7. Re:Why all the popularity? by pnutjam · · Score: 1

      success is very luck oriented and a few early fans can make a huge difference.

      http://www.nytimes.com/2012/08/05/business/of-luck-and-success-economic-view.html?_r=0

  6. Re:Very accurate to the real world by Anonymous Coward · · Score: 1

    Obvious troll is obvious.

  7. Gui Coding by a_big_favor · · Score: 1

    It's really tough to do. If you want to make a for loop, I'd really rather write it than drag the block. Making anything moderately complex is hard to make. I saw one that had multiple types of for, while, ifs and forget nested loops. Variable become hard to keep track of and I felt like I had so many extras. I can't believe anyone actually makes games that way.

  8. Re:Very accurate to the real world by Anonymous Coward · · Score: 0

    Not trolling at all. I do vet the code so that it meets my license requirements of my program if that is what you are referring to. Are you telling me that no one else does this?

  9. There's no actual code to learn, thanks to a... by Anonymous Coward · · Score: 0

    So this is a waste of time then. I want to learn code, not how to solve a block puzzle.

  10. On the Commodore 64 by Small+Hairy+Troll · · Score: 1

    One more reason to carry your C64 around with you everywhere you go.

    Flappy Bird on the C64

  11. A shame, really by jones_supa · · Score: 1

    It's a shame that the game become so big emotional endurance for the creator Dong Nguyen.

    To think about all the entertaining and relaxing little moments around the world that the game created in people's lives, he deserved the success.

    1. Re:A shame, really by gstoddart · · Score: 1

      It's a shame that the game become so big emotional endurance for the creator Dong Nguyen.

      I agree, but, I'm hard pressed to see how I'd have a hard time enduring $50k/day for work I've already done.

      But, then, maybe I'm just a greedy selfish bastard. ;-)

      --
      Lost at C:>. Found at C.
    2. Re:A shame, really by hubie · · Score: 1

      Maybe he came to realize that, just like every other successful game on a portable, most of those "relaxing little moments" are actually when people are sitting and passing time (and other things) on the pot.

  12. maybe a better look needed by Anonymous Coward · · Score: 1

    rename the ipa .zip, open the file read the copyright see who actually made flappy birds.. check the app id objectal-info.plist ... stenerud.org copyright.. nope wait free of charge to change edit modify just thank 2009 Karl Stenerud

  13. Flappy Bird Lives by Anonymous Coward · · Score: 0

    The ride never ends!

  14. Flappy Bert by Drewdad · · Score: 1
  15. Flappy suggestions. by Capt.DrumkenBum · · Score: 1

    The summary has some pretty good suggestions for new Flappy games.
    I thought we could so with some more ideas though.
    I think an all open source version called Flappy Stallman, would be a good start.
    Also Flappy ears. In honour of my girlfriends dog, who I am sure will one day lift off while shaking its head.

    --
    If I were God, wouldn't I protect my churches from acts of me?
  16. Re:Very accurate to the real world by khellendros1984 · · Score: 1

    I do that (to a degree) when I'm learning something new, like a new language, or a new library in a language I already know. So, basically when I'm writing toy programs to figure out how something works. As you start to build something more serious, the verbatim code that you find online is likely to become less useful (although it can still be useful for the concepts contained in it). If you can exclusively build your programs out of code you pull out of a search engine, then you're either making something simple, or you're re-creating something that other people have already done.

    --
    It is pitch black. You are likely to be eaten by a grue.
  17. Tetris v. Xio by tepples · · Score: 1

    If you want to prevent someone from stealing your ideas, you need a patent.

    Not according to the U.S. district court that decided Tetris v. Xio. See previous Slashdot story.

  18. Piou Piou by tepples · · Score: 1

    Really, this is "side scroller" meets "Joust". It's essentially a game with a single button, and we've had those for decades.

    Dang right. I liked Flappy Bird better when it was called Piou Piou, and before that SFCave. At least Piou Piou had powerups.

  19. Can somebody answer.... by mark-t · · Score: 1

    If a developer chooses to pull their own app from the itunes store for iOS devices, will the app get deleted from people's phones who may have already installed it the next time they try to sync with their library?

    1. Re:Can somebody answer.... by the+computer+guy+nex · · Score: 1

      If a developer chooses to pull their own app from the itunes store for iOS devices, will the app get deleted from people's phones who may have already installed it the next time they try to sync with their library?

      No, Apple will not delete anything from your phone. Apple will also not delete anything from a manual sync with iTunes.

      If you backup only to iCloud, lose your phone, buy a new one, you are SOL. When you restore to an iCloud backup, only the apps currently available will come down.

    2. Re:Can somebody answer.... by Anonymous Coward · · Score: 0

      and in my case, I have my ipad set to not update automatically, and I didn't update.
      I started flappy bird and it came up as 'flappy r2'.
      I'm pissed.

  20. I did the lesson today by Anonymous Coward · · Score: 0

    Then looked at the java script created. To see if lesson I could learn from them teaching others.
    I ended up playing flappy.

  21. In What Language is the Code Free App written in? by Anonymous Coward · · Score: 0

    code, its turtles all the way down. GUI is just an abstraction layer.

  22. "Flood of useless coders" ...? by handy_vandal · · Score: 1

    ... flood of useless coders ...

    Who cares? What harm is done? It's not like these noobies are going to be our new co-workers, now or ever. It's not like they are taking bread from our mouths.

    We should be happy that beginners take an interest in coding, not surly over some imagined insult to the collective intelligence of coders.

    --
    -kgj
  23. Retraction, apology by handy_vandal · · Score: 1

    I withdraw the word "surly" -- it's not appropriate here, and I apologize. Your phrase "The only exception I take ..." is not surly.

    Also, I am pleased that you concluded your post with a sentiment that matches my own:

    On the other hand, sparking that interest is fairly key. Shrug, if it works, it works.

    --
    -kgj
  24. Big dissapointment by NewWorldDan · · Score: 1

    I started doing some of the lessons. Like any good programmer, I set about trying to do things in a way that was not intended. I was most disappointed to see that my modifications didn't work in the sandbox. Instead I was just prodded to do things in the approved fashion. It's a wonder that anyone learns anything these days.

  25. Commodore 64 version download by Neo-Rio-101 · · Score: 1

    Yep. Had to be done.

    Hey, the game is just like one of those crappy type-in games from the magazines back in the day anyway. I don't understand the hype.

    http://csdb.dk/release/?id=129...

    --
    READY.
    PRINT ""+-0
  26. huh huh by Anonymous Coward · · Score: 0

    Huh huh. Heh heh. You said "Dong".