       winner = 'tie'
 
     if winner is 'tie'
-      "Wow, du bundet!"
+      "Wow, der ble uafgjort!"
     else if currentPlayerRole() is winner
       "Tillykke, du har vundet!"
     else


Template.challenge.helpers
  opponent: ->
    opponent = Meteor.users.findOne currentChallenge().challengeeId
    opponent.username

  answered: ->


# methods

# get the current player's role
currentPlayerRole = ->
  if currentPlayerId() is currentChallenge().challengerId
    'challenger'
  else
    'challengee'


