         @dots_checked = []
         if @is_alive dot
           dot.check_nearby_dots true
-          rc = true
         else
           dot.check_nearby_dots false
           if @captured_color is dot.owner or @captured_color is 'e'
             @to_be_captured[@to_be_captured.length] = dot
-          rc = false
-          if @color_in_turn is 'w'
-            @color_in_turn = 'b'
-          else
-            @color_in_turn = 'w'
 
         @capture_stones()
         @captured_color = 'e'

          target.removeClass('last_text')

        @draw_last_mark dot, draw_flag
        return rc

    return rc

    
  player.board.draw_fake_stone dot
  window.pendding_move = ->
    player.board.on_dot_click(dot)
    move[player.board.color_in_turn.toUpperCase()] = dot.name
    player.parser.update_game move

    if black_player is current_player
      $('#game').attr('current_player', white_player)
    else
      $('#game').attr('current_player', black_player)
    # for better user experience
    $('#pass').hide()
    $('#score').hide()
    $('#resign').hide()
    $.post(window.location.pathname  + '/moves', {"sgf":$("#game").attr("sgf"), "player_id":$("#game").attr("current_user")})

window.post_comments = ->
  (e) ->
