 
   setRegionScores = (region, color) ->
     for [x, y] in region
-      boardState[y][x] = color
+      if boardState[y][x] == 'empty'
+        boardState[y][x] = color
 
   for region in getEmptyRegions boardState
     boundary = go_rules.boundingColor region, boardState


  If 'moves' is given as an option, include only that many moves.

  If 'scoring' is given as an option, mark dame and scoring points."
  {moves, scoring} = options
  size = if sgfObject \
         then parseInt(sgfObject.gameTrees[0].nodes[0].SZ, 10) or 19 \
         else 19

    $('.confirm_button').prop('disabled', true)
    setResponseSgf @props.initialSgf
    @setState
      deadStones: null
      proposedMove: null
      viewingMove: newViewingMove

