 
       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
+    return true unless c.challengeeId is currentPlayerId()
 
     challengerGame = Games.findOne c.challengerGameId
     challengeeGame = Games.findOne c.challengeeGameId

# 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

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

    'disabled' unless currentPlayer()?

  challenge: ->
    challenges = Challenges.find $or: [
      { challengerId: currentPlayerId() }
    , { challengeeId: currentPlayerId() }
