THE MATH BEHIND FLAPPY BIRD