Flappy Bird game in Java