     @IBOutlet weak var resetButton: UIButton!
     @IBOutlet weak var autoRunButton: UIButton!
     
-    let game: Game2048
-    var bestScore = 0
-    var autoTimer: NSTimer?
-    var presentedMessages = [UIButton]()
+    private let game: Game2048
+    private var bestScore = 0
+    private var autoTimer: NSTimer?
+    private var presentedMessages = [UIButton]()
+    private var swipeStart: CGPoint?
     
     required init?(coder aDecoder: NSCoder) {
         if let persisted = NSUserDefaults.standardUserDefaults().objectForKey(kPersistedModelKey) as? [Int] {

        let res = NSMutableAttributedString(string: title, attributes: [NSForegroundColorAttributeName : UIColor(red: 238.0/255.0, green: 228.0/255.0, blue: 214.0/255.0, alpha: 1)])
        res.appendAttributedString(NSAttributedString(string: "\n\(value)", attributes: [NSForegroundColorAttributeName : UIColor(white: 1, alpha: 1)]))
        return res
    }
    
    private func addSwipeGestureRecognizer(direction: UISwipeGestureRecognizerDirection, gameaction: Selector) {
        let gesture = UISwipeGestureRecognizer(target: game, action: gameaction)
        gesture.direction = direction
        self.view.addGestureRecognizer(gesture)
    }
    
    func newGameButtonTapped(sender: AnyObject) {

        view.addConstraint(NSLayoutConstraint(item: messageButton, attribute: .CenterX, relatedBy: .Equal, toItem: board, attribute: .CenterX, multiplier: 1, constant: 0))
        view.addConstraint(NSLayoutConstraint(item: messageButton, attribute: .CenterY, relatedBy: .Equal, toItem: board, attribute: .CenterY, multiplier: 1, constant: 0))
        
        UIView.animateWithDuration(0.2, animations: {
            messageButton.alpha = 1
        })
        
