Swift version of flappy birds