     
     let titleNode = SKLabelNode(fontNamed: "Courier")
     let subtitleNode = SKLabelNode(fontNamed: "Courier")
+    let scoreNode = SKLabelNode(fontNamed: "Courier")
+    
+    var currentScore = 0
     
     override func didMove(to view: SKView) {
         print("c")

        })
    }
    
    func startGame() {
        srand48(Int(arc4random()))
        

        }
        
        
        let randDelay = drand48() * 0.3 - Double(currentScore) / 1000.0
        
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.6 + randDelay, execute: {
            if self.continueSpawnObstacle == true {
