diff --git a/21g30t1e75.js b/21g30t1e75.js index 6ddc4ee..9a1b4f6 100644 --- a/21g30t1e75.js +++ b/21g30t1e75.js @@ -1115,8 +1115,14 @@ GameLib.CustomCode.prototype.initializeGrid = function() { * @param position */ GameLib.CustomCode.prototype.explode = function(position) { - console.log('explode snake at position : ' + position.x + ', ' + position.y); + GameLib.Event.Emit( + GameLib.Event.PLAY_AUDIO, + { + name : 'Audio - Crashed' + } + ); + this.state.exploding = true; this.state.lives -= 1;