implemented a rough flappy-bird clone