 
   around: (idx, x, y) ->
     neighbors = @neighborCoord x, y
-    neighborsIdx = [@positionFromCoord(item[0], item[1]) for item in neighbors][0]
-
-    return idx in neighborsIdx or
+    neighborsIdx = [@positionFromCoord(item[0], item[1]) for item in neighbors]
+
+    return idx in neighborsIdx[0] or
            idx is @positionFromCoord(x, y) or
            @data[idx] is @entities.Mine
 


    @tileBackground.attr fill: '#fff'
    text = @ctx.text @size/2, @size/2, @number
    text.attr fontFamily: 'Arial', fontSize: 38, alignmentBaseline: 'central', textAnchor: 'middle', fill: @colors[@number-1]
    @g.append text



    game.board.cases[casePosition].g.remove()
    game.board.cases[casePosition] = new TextCase(@ctx, @x, @y, nbMinesAround)

    if ++game.safe is game.board.cases.length - game.nbMines
      console.log "WIN"
      return

