Flappy Bird on desktop using java