       dead_player = if @player_2.dead == true then @player_2 else @player_1
       winner = if @player_2.dead == false then @player_2 else @player_1
       @winner.push winner.player_number
+      @timeout = setTimeout (=>
+        @animate_colission(dead_player)
+      ),
+      0
       @update_score()
       @timeout = setTimeout (=>
         @start_time = new Date()

  draw_colission:(x, y) ->
    color = '#0000a0'
    @context.fillStyle = color
    @context.beginPath()
    @context.arc x, y,  15 , 0, Math.PI*2, true
    @context.closePath()
    @context.fill()

class Sun
  constructor:(context) ->
    @mouth = true

    @banana = new Banana(@context, @x, @y-@height, force, angle)

  draw_as_dead: ->
    @context.fillStyle = '#0000a0'
    @draw_ellipse(@x-@width, @y, 2.5*@explosion_width, @explosion_height)

  animate_colission:() ->
    @context.fillStyle = '#F50B0B'
    @explosion_width += 20
    @explosion_height += 20
    width = @explosion_width
    height = @explosion_height

    @draw_ellipse(@x-@width, @y, 2.5*width, height)


  draw_ellipse:(x, y, w, h) ->
    kappa = .5522848;
    ox = (w / 2) * kappa
    oy = (h / 2) * kappa
    xe = x + w
    ye = y + h
    xm = x + w / 2
    ym = y + h / 2

    @context.beginPath();
    @context.moveTo(x, ym);
    @context.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);
    @context.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);
    @context.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);
    @context.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);
    @context.closePath();
    @context.fill()


  throw_banana:(time, just_thrown) ->
    if @player_number == 2 and just_thrown == true
