       hideSpinner()
       [i, j] = e.data.action
       $ "##{i}\\,#{j}"
-        .text (decode game.nextPlayer).toLowerCase()
+        .text playerText()
         .highlight()
       game = game.play [i, j]
       next()

  playable = ->
    className =
      if game.nextPlayer is X then 'x-playable-tile' else 'o-playable-tile'
    for [i,j] in game.possibleActions()
      $ "##{i}\\,#{j}"
        .addClass className
    className

      $ ".#{playableClassName}"
        .addClass 'human-playable-tile'
        .on 'click', ->
          $tile = $ this
          $tile.text playerText()
          game = game.play parseId $tile.get(0).id
          next()

  setup = ->
