     @g.append group
 
 
-class ExplodedMine extends Case
+class ExplodedMine extends Tile
   constructor: () ->
     super
     circle = @ctx.circle @size/2, @size/2, @size/4

    @board = Snap(@id)
    @board.mouseup @mouseUpHandler

    @nbHorizontalCases = 19
    @nbVerticalCases = 13
    @cases = []



    nbMinesAround = @countMines()

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

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