simple flappy bird implementation