Learning Android Development: Android Jetpack Compose Flappy Bird

Recreate the classic game using Jetpack Compose

Bird surrounded by snow
Photo by Regine Tholen on Unsplash.

There was once a popular mobile game that caught the attention of many: Flappy Bird. Just for fun, I tried to recreate it using Android's latest Jetpack Compose framework.

GIF of Flappy Bird on Jetpack Compose

If you are interested in how it is done, keep reading.

Using Jetpack Compose

First of all, unlike in conventional XML-based Android development, we will be using Jetpack Compose.

I will also be using Android Studio 4.2 Beta 1. Follow the steps in this guide if you haven’t already.

Composable Functions

In this app, there’s only a single MainActivity that uses three composable functions:

--

--