 # methods
 
 checkChallenges = (challenges) ->
-  console.log "checkChallenges"
   # check for results
   challenges.forEach (c) ->
-    console.log "check result: #{c}"
-    unless c.challengerId is currentPlayerId()
-      console.log 'continue'
-      return true
+    return true unless c.challengerId is currentPlayerId()
 
     challengerGame = Games.findOne c.challengerGameId
     challengeeGame = Games.findOne c.challengeeGameId


      Challenges.update currentChallenge()._id, $set: { notified: true }

      console.log "break"
      return false

  challenges.rewind()

  # check for challenges
  challenges.forEach (c) ->
    console.log "check challenge: #{c}"
    unless c.challengeeId is currentPlayerId()
      console.log 'continue'
      return true

    challengerGame = Games.findOne c.challengerGameId
    challengeeGame = Games.findOne c.challengeeGameId

        cancel:  "Nei takk"
        confirm: "Aksepter dyst"

      return false

startGame = ({challengeeId, acceptChallengeId}) ->
