         scoreObject.value = Int64(score)
         GKScore.reportScores([scoreObject]) { (error) -> Void in
             if error != nil {
-                println("Error in reporting leaderboard scores: \(error)")
+                print("Error in reporting leaderboard scores: \(error)")
             }
         }
     }

    
    func authenticationChanged() {
        if GKLocalPlayer.localPlayer().authenticated && !authenticated {
            println("Authentication changed: player authenticated")
            authenticated = true
        } else {
            println("Authentication changed: player not authenticated")
            authenticated = false
        }
    }
    
    func lookupPlayers() {
        let playerIDs = match.players.map { ($0 as! GKPlayer).playerID }
        
        GKPlayer.loadPlayersForIdentifiers(playerIDs) { (players, error) -> Void in
            if error != nil {
                println("Error retrieving player info: \(error.localizedDescription)")
                self.matchStarted = false
                self.delegate?.matchEnded()
            } else {
                for player in players {
                    println("Found player: \(player.alias)")
                    self.playersDict[(player as! GKPlayer).playerID] = player
                }
                
                self.matchStarted = true

    }
    
    func authenticateLocalUser() {
        print("Authenticating local user...")
        if GKLocalPlayer.localPlayer().authenticated == false {
            GKLocalPlayer.localPlayer().authenticateHandler = { (view, error) in
                if error == nil {
                    self.authenticated = true
                } else {
                    print("\(error?.localizedDescription)")
                }
            }
        } else {
            print("Already authenticated")
        }
    }
    
