Sprite Kit implementation of game mechanics inspired by Flappy Bird