Clone from Flappybird.