 
 BoardDom = React.createClass
   render: ->
-    {boardState, lastPlayed, size} = @props
+    {boardState, lastPlayed, proposedMove, size} = @props
 
     {div} = React.DOM
     topVert = div {className: "board_line board_line_vertical"}

    {boardState, lastPlayed, prisoners} = objState
    size = parseInt(@props.sgfObject.gameTrees[0].nodes[0].SZ, 10) or 19

    {div} = React.DOM
    div {},
        [(React.createElement BoardDom,
                              boardState: boardState
                              lastPlayed: lastPlayed
                              size: size),
         (React.createElement NavigationDom,

      result.push getClone(v, result)
    return result
  return cloneObjectRecursive sgfObject, null

nextPlayerInSgfObject = (sgfObject) ->
  nodes = sgfObject.gameTrees[0].nodes
  reversedNodes = nodes.slice(0).reverse()  # slice(0) copies
  for node, index in reversedNodes
    if 'B' of node
      return 'white'
    else if 'W' of node
      return 'black'
    else if 'TCRESUME' of node
      # next to move is the first to pass before this resumption
      return _lastPassInRun reversedNodes.slice(index + 1)
  return 'black'
