Skip to content

Instantly share code, notes, and snippets.

@tcarlsen
Created November 25, 2014 21:37
Show Gist options
  • Save tcarlsen/87e78b6ef054379b7f8a to your computer and use it in GitHub Desktop.
Save tcarlsen/87e78b6ef054379b7f8a to your computer and use it in GitHub Desktop.
Anders lorte ged død duktion
youDie = function () {
var goatPos = $("#goat").offset()
var pooPos = $("#poo").offset()
if (goatPos.x === pooPos.x and goatPos.y === pooPos.y) {
alert("you fucking died!");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment