     @stopLoss = stopLoss
     @minRolls = +minRolls
     @updateOdds()
-    @client.one 'balanceUpdate', @recalcInitialBet.bind(@)
+    @client.one 'balanceUpdated', @recalcInitialBet.bind(@)
     @client.init()
 
   updateOdds: ->

      count += 1
    [ count, total ]

class BaseClient extends Evented
  MINBET: 100

  @accessor 'balance',

      dataType: 'jsonp')
    r(jqXHR)

window.Primedice = class Primedice extends BaseClient
  HOUSEEDGE: 1
  MAXROLL: 100.0

  getProfile: ->
    @call('users/1').then (res) ->
      { username: res.user.username, balance: res.user.balance }

  startRound: -> r()

  placebet: (bet, rollBelow) ->
