An AI experiment with Swift and SpriteKit