   setupGamesFor: (categoryId) =>
     @generateGamesListFor(categoryId).then (games) =>
       @initialiseStatus()
-    
-      first_game = games.pop()    
+
+      first_game = games.pop()
       @$location.path("/games/#{categoryId}/#{first_game}").search("games=#{JSON.stringify(games)}")
 
 

    deferred = @$q.defer()

    @categoryService.get(categoryId).then (category) =>
      wordGames = [6,7]
      audioGames = [1,2,5,8]
      pictureGames = [3,4,9]

      games = wordGames

    @livesRemaining--
    @gameInProgress = false if @livesRemaining == 0
    @lastRoundSuccessful = false
    @gameStatus()

  initialiseStatus: () =>
    @livesLost = 0
