         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) {

    }
}

extension GameViewController {
    override func canBecomeFirstResponder() -> Bool {
        return true

        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
        })
        
