 }
 
 class GameViewController: UIViewController {
-
-    required init(coder aDecoder: NSCoder) {
-        fatalError("init(coder:) has not been implemented")
-    }
+    
     var level:Level!
-    var scene: GameScene
+    var scene: GameScene!
     
     func beginGame() {
         shuffle()

        let newCookies = level.shuffle()
        scene.addSpritesForCookies(newCookies)
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        

        scene = GameScene(size: skView.bounds.size)
        scene.scaleMode = .AspectFill
        
        level = Level()
        scene.level = level
        
        
        /// Add the sprites
        beginGame()
        
        
        skView.presentScene(scene)
        
