     @IBAction func startOver(sender: UIButton) {
         startNewGame()
         updateLabels()
+        
+        let transition = CATransition()
+        transition.type = kCATransitionFade
+        transition.duration = 1
+        transition.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionEaseOut)
+        view.layer.addAnimation(transition, forKey: nil)
     }
     
     func startNewGame() {

    func startNewRound() {
        round += 1
        targetValue = 1 + Int(arc4random_uniform(100))
        currentValue = lroundf(slider		.value)
        slider.value = Float(currentValue)
    }
    

//

import UIKit
import QuartzCore

class ViewController: UIViewController {
    var currentValue: Int = 0
