             labels.append(label)
         }
         
-        let burstAnimation = SKAction.sequence([
+        // Create the burst animation sequence
+        var burstSequence: [SKAction] = [
             SKAction.scaleTo(1.2, duration: 0.4),
             SKAction.scaleTo(0.8, duration: 0.2),
             SKAction.scaleTo(1.0, duration: 0.2),

                SKAction.scaleTo(5.0, duration: 1.0),
                SKAction.fadeOutWithDuration(1.0)
            ])
        ])
        
        var verticalOffset:CGFloat = 0
        

        }
    }
    
    /**
        Scales and positions the gameboard to fit the current screen size and orientation.
    */
    func updateGameboardLayerPosition() {
        if (HexMapHelper.instance.hexMap != nil) {
            var scale: CGFloat = 1.0
