This Flappy Bird clone was written in under 20 lines of code

How games work
Recommended VideosWhen Flappy Bird left its mark on the world last year, it was glaringly obvious that it was a simple game. However, to the layman, there’s rarely an apparent connection between the presentation and the amount of developer coding required. That “simple game” could require tens of thousands of lines of code as far as most people know.
Well, Flappy Bird was likely less convoluted than that, given that someone’s essentially recreated it in exactly 18 lines of code. Okay, actually less than that because the last line is dedicated to a Douglas Adams quote. The clone, which is appropriately and uncleverly named Crappy Bird, isn’t quite as refined as the original, but the sentiment’s there nonetheless.
It’s interesting to think of Flappy Bird as a new de facto of sorts for beginner game development, possibly replacing Snake as the go-to easy-to-make videogame. And, for those with only a rudimentary understanding of programming languages, it’s a neat look at the sort of stuff that makes beloved games run — even if it is just the smallest sliver.
Game Walkthroughs [KT Byte]
Post Tag: Developer stuff Destructoid is supported by our audience. When you purchase through links on our site, we may earn a small affiliate commission. Learn more about our Affiliate Policy Join The Conversation