     @livesRemaining--
     @gameInProgress = false if @livesRemaining == 0
     @lastRoundSuccessful = false
-    @gameStatus()   
+    @gameStatus()
 
   initialiseStatus: () =>
     @livesLost = 0

      games = games.concat pictureGames if category.games.image

      numGamesRemaining = @GAMES_PER_ROUND - games.length
      randomGames = [1..numGamesRemaining].map (g) -> 
        randomIndex = Math.floor(Math.random() * (games.length - 1))
        games[randomIndex]
      games = games.concat randomGames

  setupGamesFor: (categoryId) =>
    @generateGamesListFor(categoryId).then (games) =>
      @initialiseStatus()

      first_game = games.pop()
      @$location.path("/games/#{categoryId}/#{first_game}").search("games=#{JSON.stringify(games)}")


