Get the latest tech news

Flappy Bird in 1000 lines of C


A clone of .GEARS' Flappy Bird in just over 1000 lines of C - alxyng/flappybird

The following has been tested on macOS only but may work on other platforms. From the root of the repo, apply the following patch to SDL_mixer: Then open XCode, select a device and hit Run.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of lines

lines

Photo of Flappy Bird

Flappy Bird

Related news:

News photo

Building a distributed log using S3 (under 150 lines of Go)

News photo

Linux 6.13 Staging Clears Out 107k Lines Of Code From Old & Unmaintained Drivers

News photo

Bocker: Docker implemented in around 100 lines of Bash (2015)